diff --git a/pm2.config.cjs b/pm2.config.cjs new file mode 100644 index 0000000..870917b --- /dev/null +++ b/pm2.config.cjs @@ -0,0 +1,15 @@ +module.exports = { + apps: [{ + name: "labplus-server", + script: "./src/index.js", + watch: [ + "src" + ], + ignore_watch: [ + "node_modules" + ], + env: { + "NODE_ENV": "production" + } + }] +} \ No newline at end of file diff --git a/pm2.config.js b/pm2.config.js deleted file mode 100644 index e0ceae4..0000000 --- a/pm2.config.js +++ /dev/null @@ -1,13 +0,0 @@ -export const apps = [{ - name: "labplus-server", - script: "./src/index.js", - watch: [ - "src" - ], - ignore_watch: [ - "node_modules" - ], - env: { - "NODE_ENV": "production" - } -}]