Skip to content

Instantly share code, notes, and snippets.

@voidnerd
Created September 14, 2021 09:31
Show Gist options
  • Select an option

  • Save voidnerd/2b38f3e5c878708b253adb9d67d7a4e1 to your computer and use it in GitHub Desktop.

Select an option

Save voidnerd/2b38f3e5c878708b253adb9d67d7a4e1 to your computer and use it in GitHub Desktop.

Revisions

  1. voidnerd created this gist Sep 14, 2021.
    14 changes: 14 additions & 0 deletions ecosystem.config.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    module.exports = {
    apps: [
    {
    name: 'nuxtapp',
    exec_mode: 'cluster',
    instances: 'max', // Or a number of instances
    script: './node_modules/nuxt/bin/nuxt.js',
    args: 'start',
    watch: '.',
    watch_delay: 3000,
    ignore_watch: ['node_modules'],
    },
    ],
    }