development server stops on SyntaxError or other Exceptions
|Reported by:||eibaan||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.1|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It's a bit annoying that you have to manually restart the development server if you have a
NameError in a file because changes to that file are not detected.
This is caused - I think - by the fact that the autoreloader only watches files of successfully loaded modules.
I created a patch that catches those errors and adds fake modules to the system so that the autoreloader also checks for changes in those files. It's kind of hackish but it causes the reload after fixing the problems as wished for.
Change History (19)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|
comment:14 Changed 5 years ago by
|Status:||reopened → closed|