From 5da9bfee145accb5b4b02d8a727203510cab01a9 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 19 Dec 2023 10:39:25 +0000 Subject: [PATCH] Set --enable-source-maps for the worker package. --- packages/worker/nodemon.json | 2 +- packages/worker/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/worker/nodemon.json b/packages/worker/nodemon.json index a8e9d45b47..81369f45da 100644 --- a/packages/worker/nodemon.json +++ b/packages/worker/nodemon.json @@ -9,5 +9,5 @@ ], "ext": "js,ts,json", "ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../*/dist/**/*"], - "exec": "yarn build && node dist/index.js" + "exec": "yarn build && node --enable-source-maps dist/index.js" } diff --git a/packages/worker/package.json b/packages/worker/package.json index e9c2f4c5de..1982ed2111 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -17,7 +17,7 @@ "postbuild": "copyfiles -f ../../yarn.lock ./dist/", "check:types": "tsc -p tsconfig.json --noEmit --paths null", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", - "run:docker": "node dist/index.js", + "run:docker": "node --enable-source-maps dist/index.js", "debug": "yarn build && node --expose-gc --inspect=9223 dist/index.js", "run:docker:cluster": "pm2-runtime start pm2.config.js", "dev:stack:init": "node ./scripts/dev/manage.js init",