Answer the question
In order to leave comments, you need to log in
Run Angular and Django with the same command?
I'm trying to run two devs with
cd client
ng build --watch
cd ../
cd src
python manage.py runserver
Answer the question
In order to leave comments, you need to log in
For things like this, it's very handy to use makefiles
ls Makefile
angular:
cd client && ng build --watch &
django:
cd ../src && python manage.py runserver
run_all:
make angular
make django
cd client && ng build --watch &
cd ../src && python manage.py runserver
I understand that it ng build --watch
starts in the terminal and, thus, until it completes, the following commands will not be executed, which is logical.
Run it in the background with nohup .
Well, or try docker-compose :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question