Skip to content

Commit 6ba4ecf

Browse files
committed
add node path
1 parent cf872d5 commit 6ba4ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"scripts": {
3939
"build": "tsc",
4040
"prestart": "npm run build",
41-
"start": "./wait-for-it.sh ${AMQP_HOST}:${AMQP_PORT} -- node dist/taskmaster.js",
41+
"start": "NODE_PATH=dist ./wait-for-it.sh ${AMQP_HOST}:${AMQP_PORT} -- node dist/taskmaster.js",
4242
"dev": "NODE_PATH=dist nodemon dist/taskmaster.js",
4343
"test": "docker build . -t codingblocks/judge-taskmaster && mocha --timeout 10000 --exit --require ts-node/register test/**/*.ts",
4444
"test.parallel": "mocha-parallel-tests --timeout 10000 --exit --require ts-node/register test/**/*.ts",

0 commit comments

Comments
 (0)