Currently the file watcher cannot work properly on network file systems, or file systems that doesn't support the underlying change notification mechanism that node's fs.watch relies on. This could lead to the language service crashing (#6726).
The alternative solution is to consider third party file watcher libraries. As suggested by Daniel (#7376 (comment)), Watchman or similar product can be used for the purpose. It may worth some research.
Currently the file watcher cannot work properly on network file systems, or file systems that doesn't support the underlying change notification mechanism that node's
fs.watchrelies on. This could lead to the language service crashing (#6726).The alternative solution is to consider third party file watcher libraries. As suggested by Daniel (#7376 (comment)), Watchman or similar product can be used for the purpose. It may worth some research.