We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-node-dev --ignore-watch <folder>
the ignore-watch argument gets ignored, so every time my node writes to the data folder the watcher wants to restart.
I believe the syntax I tried using is correct? :
"scripts": { "start": "ts-node-dev ./bot.ts --ignore-watch ./data/" },
also tried:
"ts-node-dev ./bot.ts --ignore-watch /data/" "ts-node-dev ./bot.ts --ignore-watch ./data" "ts-node-dev ./bot.ts --ignore-watch /data" "ts-node-dev ./bot.ts --ignore-watch ./data/"
I'm running with npm start. OS version (is it docker or host?) windows 10, ts-node-dev version 2.0.0
The text was updated successfully, but these errors were encountered:
Both --ignore-watch=<<relative path>> and --ignore-watch <<relative path>> work for me.
--ignore-watch=<<relative path>>
--ignore-watch <<relative path>>
Sorry, something went wrong.
Putting my ignore values in double quotes worked for me. Dont forget to escape the quotes if calling from package.json:
"scripts": { "dev": "tsnd --transpile-only --ignore-watch \".next\" --ignore-watch \"src/*\" ./index", }
Try putting ignore earlier
"scripts": { "start": "ts-node-dev --ignore-watch ./data/ ./bot.ts" },
Doing this solved a similar issue for me.
No branches or pull requests
Issue description
ts-node-dev --ignore-watch <folder>
the ignore-watch argument gets ignored, so every time my node writes to the data folder the watcher wants to restart.
I believe the syntax I tried using is correct? :
also tried:
Context
I'm running with npm start.
OS version (is it docker or host?) windows 10, ts-node-dev version 2.0.0
The text was updated successfully, but these errors were encountered: