Search code examples
node.jsnuxt.jsforever

How do i use forever to run a Nuxt.js app?


How do i use forever to run a Nuxt.js app? I've tried every which way and it just doesn't work.

I think i'm not just clear what the equivalent of the app.js file is, so that I can do a simple

forever start <entry-point>.js

Solution

  • Depends on the command that runs nuxt. Example for "npm start":

    forever start -c "npm start" /path/to/app/dir/