update make file to make_frontend to remove node_modules before install and avoid binding error

This commit is contained in:
anovazzi1 2023-07-27 16:26:15 -03:00
commit 0a452750dd

View file

@ -32,10 +32,10 @@ lint:
poetry run ruff . --fix poetry run ruff . --fix
install_frontend: install_frontend:
cd src/frontend && npm install cd src/frontend && m -rf node_modules && npm install
run_frontend: run_frontend:
cd src/frontend && npm start cd src/frontend && rm -rf node_modules && npm start
frontend: frontend:
make install_frontend make install_frontend