Skip to content

Commit 16c28f1

Browse files
committed
fix: improve mac server reload
1 parent 3ef657d commit 16c28f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ services:
122122
- EXAMPLE_SECRET
123123
environment:
124124
DC_COMMAND: ${DC_COMMAND}
125-
HOIST_UNAME: ${taito_host_uname}
125+
HOST_UNAME: ${taito_host_uname}
126126
COMMON_COMPANY: companyname
127127
COMMON_PROJECT: server-template
128128
COMMON_PUBLIC_PORT: 9999

server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"unit": "sh -c 'test_name=$(printf '%s' \"$0\" | sed -e 's/^sh$//g') && mocha -r ts-node/register --recursive \"**/${test_name:-*}.unit.ts\"'",
66
"test": "mocha -r ts-node/register --timeout 2000 --recursive \"**/${test_name:-*}.test.ts\"",
77
"start": "npm run start:dev",
8-
"start:dev": "NODE_ENV=development ts-node-dev --respawn --transpileOnly $([ $HOST_UNAME = Darwin ] && echo --poll) index.ts | bunyan -l debug",
8+
"start:dev": "NODE_ENV=development ts-node-dev --respawn --transpileOnly $([ $HOST_UNAME = Darwin ] && [ ! $DC_COMMAND ] && echo --poll) index.ts | bunyan -l debug",
99
"lint": "tslint -p . -c tslint.json",
1010
"build:test": "tsc --build tsconfig.test.json",
1111
"build:prod": "NODE_ENV=production tsc --build tsconfig.json",

0 commit comments

Comments
 (0)