watch additional files #41224
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
tsc watch yarn.lock
Suggestion
add the ability to watch files that are not part of the default set
Use Cases
primary use case for this is to auto restart language server, or a
tsc --watch
ifyarn.lock
changes when using pnp since there is nonode_modules
to watch. currently if a library is removed tsc will actually crash when it goes missing. When a library is added tsc watch needs to be manually restarted.Examples
I think these should be additive, not replace the existing paths, however I can see adding a new option for additivity, or requiring this to replace existing options. If it replaces the current watch set then it should be well documented how to specify them. If no arguments are provided the behavior of suggested would be use the defaults.
tsc --watch yarn.lock
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: