Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Fix watch-server script on macOS#3

Open
MrMYHuang wants to merge 1 commit intoRBCodeCraft:masterfrom
MrMYHuang:master
Open

Fix watch-server script on macOS#3
MrMYHuang wants to merge 1 commit intoRBCodeCraft:masterfrom
MrMYHuang:master

Conversation

@MrMYHuang
Copy link

The script

cross-env NODE_ENV=development nodemon --watch src/**/* -e ts,tsx --exec ts-node src/server/server.ts

is expanded to

cross-env NODE_ENV=development nodemon --watch src/server/config.ts src/server/config.ts src/server/logging.ts src/server/routes.ts src/server/server.ts -e ts,tsx --exec ts-node src/server/server.ts

on macOS. Changing to --watch src/**/ fixes the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant