I have to maintain a AngularJS/Node.js application which uses Gulp with browserify. I cannot install npm on server so I unzipped node x64 and added it to the path. The code is compiled locally with node_modules in the code folder. We are unzipping it into a folder in server and executing the gulp serve &. The process starts fine, however exits as soon as the user is logged out. Kindly suggest the best way to resolve this issue.
Use nohup, like
nohup gulp serve &
Following command helped me to fix the issue:
forever start node_modules/gulp/bin/gulp.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With