Git Product home page Git Product logo

Comments (4)

alallier avatar alallier commented on July 20, 2024 1

What about using reload?

from node-supervisor.

iangreenleaf avatar iangreenleaf commented on July 20, 2024

This seems like a worthy goal. What's taking 8 seconds to load up, though? Is it for supervisor to notice the changes (at that moment, you'll see a "DEBUG: crashing child" message)? Or for the server to become operational after it's restarted? If it's the former, you could try setting a shorter poll interval, a la #20. If it's the latter, there may not be much we can do - all supervisor knows is that it has spawned a new process, not whether that process has finished setting up.

from node-supervisor.

SimonDegraeve avatar SimonDegraeve commented on July 20, 2024

I'm really interested by this feature. So what is the status on this?

from node-supervisor.

iangreenleaf avatar iangreenleaf commented on July 20, 2024

I think it's a very cool idea, but I don't have time to implement it myself. We discussed a similar feature in #67, and I mentioned on that one that this seems better suited to serve as a plugin of some sort rather than going in supervisor core. I never did implement the plugin hooks (#81), but I probably could with a little prodding.

from node-supervisor.

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.