automatic restart when Python code changes
Bug #213269 reported by
Martijn Faassen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Released
|
High
|
Martijn Faassen | ||
1.0 |
Fix Released
|
High
|
Martijn Faassen |
Bug Description
We need to investigate automatically restarting Grok whenever a .py file changes. Other web frameworks do this by default. I'd suggest Grok also enables this by default, with perhaps an 'off' button (and other configuration of this behavior?) in our UI somewhere.
To implement this, we need to look at what TurboGears/
Changed in grok: | |
assignee: | nobody → faassen |
milestone: | none → 1.0 |
To post a comment you must log in.
Here is the Django implementation (which was mostly taken from CherryPy), which just stats files every second in a seperate thread and causes a restart if a file has been modified:
http:// code.djangoproj ect.com/ browser/ django/ trunk/django/ utils/autoreloa d.py