Question

I just took a look to this tutorial: How can I run nodemon from within WebStorm?

I'm wondering how reload only the files updated and don't restart the entire server instance. I'm wondering also if it's possible to don't break a debug breakpoint, because for the moment the entire server is restarted and if I'm following instruction step by step using the debogguer, I lost the track.

By the way, there are my ways to use them with webstorm, it's particularly tricky with supervisor. Because it needs to get the app.js and everything as parameters.

Supervisor: https://docs.google.com/file/d/0ByzbHcAxmCyvTGdHOWJSTTYzNWs/edit

Nodemon: https://docs.google.com/file/d/0ByzbHcAxmCyvdVQ3azFhSlV0dEU/edit

Was it helpful?

Solution

You can use modules like hotswap to reload files when they change.

It can cause memory leaks and other stuff, but it's working fine for development.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top