diff --git a/ecosystem.config.js b/ecosystem.config.js index 4070725..5a1715b 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,9 +1,9 @@ module.exports = [{ - script: 'server.js', name: 'server', + script: 'server.js', node_args: '-r esm', }, { + name: 'worker', script: 'worker.js', node_args: '-r esm', - name: 'worker' -}] \ No newline at end of file +}]; diff --git a/package.json b/package.json index 1362cbd..fa2d0b6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "scripts": { "test": "mocha", "start": "node --es-module-specifier-resolution=node server.js", - "prod": "node server.js && node worker.js", "lint": "eslint . --ext .js", "lint:fix": "eslint . --ext .js --fix" },