This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is a NodeJS module called "nodemon" [1] that can be used to run NodeJS application and it will automatically listen on file changes and restart NodeJS upon file save. It could be used in NetBeans by setting project to run on custom NodeJS, but then IDE marks project as broken due to missing NodeJS sources (and I guess it affects editor's completion as well) and if you try to download the sources, it (as expected) does not work and IDE shows "Downloading sources for node.js version..." progress bar and it does not go away. Would it be possible to "split" configuration of NodeJS binary and NodeJS sources? So if one selects to run project on custom NodeJS binary (nodemon in this case), there would be another checkbox to "use default Node.JS sources" (would download sources for default NodeJS) and "use custom Node.JS sources" (would work as it does right now if you select custom NodeJS). Thanks [1] https://github.com/remy/nodemon
Hm, I guess there should be some way to enter version of node.js sources that should be downloaded and used...
My area.
Likely I will add a button "Select..." for selecting node.js sources (next to "Download..." button). Then it should be possible to manually select whichever sources user needs (of course, in such case she will loose the possibility to check whether sources are up-to-date with the node.js CLI). Thanks.
Should be done now. Please, verify it _carefully_ since it is quite a lot of changes. Try default node, project specific node and verify please also that documentation and project problems are OK. Thanks. http://hg.netbeans.org/web-main/rev/1b176791c703
Integrated into 'main-silver', will be available in build *201412180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1b176791c703 User: Tomas Mysik <tmysik@netbeans.org> Log: #248832 - Split custom NodeJS binary and NodeJS sources configuration
Thank you, verified and some issues I've found are reported. Product Version: NetBeans IDE Dev (Build web-main-1728-on-20141218) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_US (nb)