0

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

4

1 回答 1

1

您可以使用hotswap等模块在文件更改时重新加载文件。

它可能会导致内存泄漏和其他问题,但它对开发工作正常。

于 2014-01-24T04:43:00.490 回答