You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tsc --watch creates too many inotify watches. For source code with a few hundred files, it creates 17061 watches, shown with this script: https://unix.stackexchange.com/a/502812
It wont be unnecessary.. If you program includes source files, they will be watched. tsc --listFiles will help you show what files are included in the program. tsc --traceResolution will help you diagnose why.
TypeScript Version: 3.5.3
Search Terms: node_modules watch
Actual behavior:
tsc --watch
creates too many inotify watches. For source code with a few hundred files, it creates 17061 watches, shown with this script:https://unix.stackexchange.com/a/502812
Moving files out of node_modules causes the count to go down.
Expected behavior:
The number of inotify watches should be comparable to the number of source files and not depend on node_modules.
Related Issues:
The text was updated successfully, but these errors were encountered: