We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ef58f commit bbb7488Copy full SHA for bbb7488
1 file changed
pm2.config.js
@@ -0,0 +1,13 @@
1
+module.exports = {
2
+ name: "server",
3
+ script: "./server/main.js",
4
+ env_production: {
5
+ NODE_ENV: "production"
6
+ },
7
+ env_development: {
8
+ NODE_ENV: "development"
9
10
+ watch: ["server"],
11
+ watch_delay: 10000,
12
+ ignore_watch: ["node_modules", "public"]
13
+}
0 commit comments