Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stuck in Watching for file changes with StatReloader

I made my project fine and when I run my server through a normal shell it works but I am trying to run my project through git bash. All the commands seem to work fine but when I do python manage.py runserver it gets stuck on Watching for file changes with StatReloader. Apparently after that I go to localhost:8000

but that and my 127 port 8000 are not responding and show that theres nothing there, No errors or anything and like I said if I python manage.py runserver through shell it works

like image 644
David Morales Avatar asked May 18 '20 06:05

David Morales


Video Answer


1 Answers

If you use django with Dockerfile, you won't miss that env var PYTHONUNBUFFERED set by 1.

like image 78
Даниял Avatar answered Sep 18 '22 18:09

Даниял