Comments (6)
Django's runserver plus uses watchman
http://django-extensions.readthedocs.io/en/latest/runserver_plus.html#introduction
I believe we should go with that (as livereload
has a dependancy on tornado, that I'd rather avoid)
Aside: Hadn't realised that flask's lovely debugging tools are actually part of werkzeug.
We should take advantage of that.
from apistar.
We're not leveraging all the stuff that werkzeug provides right now either...
Eg. Using werkzeug request and response objects might be something we want to do.
from apistar.
Yup, we may do. Will also need to consider similar issues eg. Do templates and static files reload?
from apistar.
Presumably we'd want to use livereload
, as we already do with mkdocs
...
https://github.com/mkdocs/mkdocs/blob/master/requirements/project.txt
Any other options? Pull requests welcome.
from apistar.
werkzeug has two backends for reloader support, the default is stat
and the other one is watchdog
not watchman as far as I remember. I agree that actually bringing in werkzeug
has a couple of advantages, including the reloader and debugging stuff
from apistar.
Thanks @jpadilla! Been looking into it now.
from apistar.
Related Issues (20)
- Error: Missing option "--path" invoking `apistar validate` HOT 1
- KeyError on invoking `apistar validate` HOT 2
- CLI arguments are not validated correctly.
- Dependency incompatible with Python 3.5 HOT 2
- Sample API documentation
- Selecting a server or setting a custom endpoint HOT 4
- No repr or str on some exceptions
- Schema Validation not correct for payload structure
- No validation of requestBody schemas HOT 3
- static_url kwarg to apistar.docs is not enough
- ValidationError: All object keys must be strings HOT 4
- Handle deprecated links and parameters
- no module named apistar HOT 2
- requestBody media types are not handled generically
- consistent file extension for YAML
- Fix simple typo: agnositic -> agnostic
- tests improvements HOT 1
- Unable to run .exe file
- Doing async requests HOT 3
- Can you publish a wheel?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apistar.