Saturday 18 March 2017

NodeJS slow startup on vagrant

I'm running a windows machine and I've just setup a basic Trusty64 vagrant box.

Whenever I try to run a http app in node within vagrant (doing nothing but showing a blank webpage) it takes a few seconds to startup. This is annoying when using it with Nodemon because it means I need to wait a few seconds everytime I make a change.

If I try running the same code on my host machine the startup times will basically be instant.

Is there anything that can be done to speed this up?



via user1157885

No comments:

Post a Comment