I m new on both sails.js and node.js.
I created a simple api with sails.js. It works fine when I start it with sails lift --prod
. On the other hand when I start the application with forever start app.js --prod
and it always returns 0 altough I dont not get any error and warning and I can see my app.js in the list with the forever list command.
I created a simple node.js application to test forever and it worked as expected.
I tried to run my Sails.js application both my local windows and linux/ubuntu machine on digital ocean, they worked fine with sails lift but not forever. Also I tried node app.js --verbose
and it was ok. My sails version is 0.11.4. Thanx for your help.
Well eventually I start my application with forever. Those are what I did
Now it works fine.