ts-node .\index.tsx how make autmatic watch?
Jump to turn (9)
- 1ts-node .\index.tsx how make autmatic watch?
- 2Error: Unknown or unexpected option: --watch
- 3Error: Unknown or unexpected option: --watch
- 4Unknown file extension ".ts" for C:\Users\48537\Documents\projektyreact\project1
- 5TypeError [ERRUNKNOWNFILEEXTENSION]: Unknown file extension ".ts" for C:\Users\4
- 6TypeError [ERRUNKNOWNFILEEXTENSION]: Unknown file extension ".ts" for C:\Users\4
- 7Unknown file extension ".ts"
- 8Unknown file extension ".ts"
- 9{ "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext"
- User
ts-node .\index.tsx how make autmatic watch?
- Assistant
You can use the
--watchflag to enable automatic watching of your typescript files. The updated command would be:codets-node --watch index.tsxThis will automatically re-run the
index.tsxfile whenever it is changed. - User
Error: Unknown or unexpected option: --watch
- Assistant