$4.8

How to run Nuxt app with forever

Ask a question+
2

Are there any way to run Nuxt app with forever, as I need to run npm run start

add comment

2 Answers

1

I found another good solution, now instead of forever I am using pm2
To install pm2 run sudo npm install pm2 -g command
To run you app run pm2 start npm --name "your-project-name" -- start command
Here is another useful article for pm2

add comment
2

I found the solution, to do that we need to run:
forever start -c "npm run start" /path/to/app/dir/

add comment

Your Answer