I started learning node.js, configured plugins for node.js in eclipse. What should I set in "Node monitor Path" field in windows preference under Nodeclipse settings?
1 Answers
This function was add in Nodeclipse 0.6, but no feedback came on how it should be. Authors are not using this features, so as of Nodeclipse 0.12, all monitors were not tested. see http://www.nodeclipse.org/history So hopefully more answers show how to do that.
Launching logic is in https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationDelegate.java#L147-162
Nodeclipse is free open-source project that grows with your contributions. Do not expect authors to do features they themselves do not use. Once there is person raising the issue and willing to follow it, it gets solved.
There is built-in and online Help:
Press F1 -> Contents -> Nodeclipse Help - Monitor page
Select monitor
- https://www.npmjs.org/package/forever
- https://www.npmjs.org/package/nodemon
- https://www.npmjs.org/package/node-dev
- https://www.npmjs.org/package/supervisor
They all have similar command line
forever [action] [options] SCRIPT [script-options]
nodemon [your node app]
node-dev foo.js
supervisor [options]
Below are some remarks about GitHub stars:
- forever - 2700 stars
- node-dev - 380 stars (doesn't require any configuration)
- nodemon 1500 stars - support running .coffee
- supervisor 1100 stars
After installing with npm install * -g
, browse for CLI file
e.g. C:\Users\weibl\AppData\Roaming\npm\node_modules\forever\bin\forever
Configure path to your source file monitor in Preferences -> Nodeclipse -> Node monitor path
So as you can notice Help also grows when issue are raised and solved. Check Tasks view in Eclipse not showing TODOs? for example

- 1
- 1

- 60,022
- 51
- 208
- 332
-
2for someone new to node, this answer is cryptic at best. What exactly is needed to setup and specify the node monitor? – chrismarx Apr 05 '14 at 15:15
-
1Updated. Now is your turn – Paul Verest Apr 12 '14 at 18:51
-
thank you, nodemon is happily restarting my server now on code changes- – chrismarx Apr 12 '14 at 21:07
-
Could you please share e.g. on wiki https://github.com/Nodeclipse/nodeclipse-1/wiki – Paul Verest Apr 13 '14 at 01:01