diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..68925cc --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,14 @@ +module.exports = { + apps : [{ + name: '17th-api', + cwd: 'api', + script: 'built/api/src/index.js', + watch: ['.env', 'built'], + ignore_watch: ['.gitignore', '\.json', 'src', '\.db', 'node_modules'], + watch_options: { + usePolling: true, + interval: 10000 + }, + time: true + }] +};