diff --git a/pm2.config.js b/pm2.config.js new file mode 100644 index 0000000..870917b --- /dev/null +++ b/pm2.config.js @@ -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