I want to use forever while running the express js server.Usually I used to start my server with npm start,but with forever how I can start express js server.If I am using node forever app.js command,server is not getting started.I am new to node and express.Please help me out.Thanks in advance.
After giving forever start ./bin/www command.I am getting
C:\Users\Gourab>forever start ./bin/www
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up f
or at least 1000ms
info: Forever processing file: ./bin/www
error: Cannot start forever
error: script C:\Users\Gourab\bin\www does not exist.