Re: Question about django.utils.autoreload

2020-07-20 Thread Chetan Ganji
RE: os.path.join(BASE_DIR, 'reactapp', 'src') It seems that the source code of react app is inside the django folder, so if src code of django is changed, react app would be rebuild! Try keeping the src code of django and react app if different folders, that might solve it. Regards, Chetan Ganj

Question about django.utils.autoreload

2020-07-20 Thread Dave R
Hello, I'm trying to figure out how to rebuild my React.js project (with Django backend) and relaunch the Django dev server if a React.js file changes. The code below works, but it rebuilds React even if the only code changes are in Django. Can anyone suggest how to solve this problem? import