https://github.com/steder/twistr
Twistd wrapper to restart your Twisted server on code changes.
https://github.com/steder/twistr
python restart-server twisted
Last synced: about 2 months ago
JSON representation
Twistd wrapper to restart your Twisted server on code changes.
- Host: GitHub
- URL: https://github.com/steder/twistr
- Owner: steder
- License: mit
- Created: 2012-10-02T16:24:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T21:49:03.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T06:55:08.347Z (2 months ago)
- Topics: python, restart-server, twisted
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
=================================
Twistr
=================================`Twistr` is a simple wrapper around the Twisted_ projects `twistd` commandline
tool that will restart the server whenever python files change.---------------------------------
Usage
---------------------------------From your root project directory (where your `twisted/plugins` folder lives)
launch your service with::twistr -n
Or even::
twistr
Now change a `*.py` file in your current directory and watch your server
magically restart.---------------------------------
TODO
---------------------------------* configurable directory to watch for changes
* configurable file extensions to watch for changes
* use filesystem events API(s) to watch for changes.. _Twisted: http://www.twistedmatrix.com/