Giter Club home page Giter Club logo

Comments (6)

tomchristie avatar tomchristie commented on May 22, 2024 1

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.

tomchristie avatar tomchristie commented on May 22, 2024 1

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.

tomchristie avatar tomchristie commented on May 22, 2024

Yup, we may do. Will also need to consider similar issues eg. Do templates and static files reload?

from apistar.

tomchristie avatar tomchristie commented on May 22, 2024

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.

jpadilla avatar jpadilla commented on May 22, 2024

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.

tomchristie avatar tomchristie commented on May 22, 2024

Thanks @jpadilla! Been looking into it now.

from apistar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.