142
rated 0 times
[
146]
[
4]
/ answers: 1 / hits: 11307
/ 11 Years ago, thu, january 2, 2014, 12:00:00
Lets say im working on an app, MyApp, and I want to build an NPM module for it, MyModule. Right now I can think of two ways to develop it:
- Makes changes -> save -> npm install /path/to/module in MyApp
- Same as 1, except run npm install /path/to/module then editing it directly in node_modules then copying the changes over.
What I'd like is an easier workflow. One where I can simply save the file, refresh the page, and my changes are there. Is that possible? For example, I know in Gemfiles I can just link to another directory as the path. Pretty sure I can't do that with npm tho.
More From » node.js