News for hackers. Stuff that matters.
Re:Show HN: Auto install npm dependencies as you code by joshstrange on Monday August 08, 2016 @01:18PM (#12249325)
I am very interested in this for projects that I'm just starting and don't expect to run on anything but my machine. It's an annoying break of flow to be writing code and say "Crap, I need request or lodash" and have to stop, npm install --save, require, then go back to what I'm doing. Yes I still have to require it in but for side projects/one-offs I find this pretty cool.
Re:Show HN: Auto install npm dependencies as you code by throwanem on Monday August 08, 2016 @01:47PM (#12249548)
This might just be a question of workflow optimization. Have you considered waiting to do the installs until you've paused in writing code anyway, or using your editor's shell command execution capability (if any) to fire off these installs and let them run in background while you continue to work?
Re:Show HN: Auto install npm dependencies as you code by siddharthkp on Monday August 08, 2016 @02:02PM (#12249656)
You feel me, brother! That's exactly what happened when I decided to create this :)