From 3c3ecdb081229baaae142b00305d4a8a7aae0e11 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 26 Jan 2021 11:00:37 +0100 Subject: [PATCH] add pm2 ecosystem config --- .gitignore | 8 ++++---- ecosystem.config.js | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 ecosystem.config.js diff --git a/.gitignore b/.gitignore index 9e790f0..934cb7a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,12 +2,12 @@ node_modules/ yarn-error.log .history -.env +/.env logs/ .DS_Store -spec/coverage -build +/spec/coverage +/build perf.csv .vscode .eslintcache -globalConfig.json +/globalConfig.json diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..9c35d6a --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,14 @@ +module.exports = { + apps: [ + { + name: 'connect', + script: 'src/index.js', + watch: '.', + }, + { + name: 'connect-sandbox', + script: 'src/sandbox.js', + watch: '.', + }, + ], +};