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