summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json
index d7fc0f4..05e99c8 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -33,5 +33,18 @@
"vfs/example.ts",
"vfs/vfs.ts",
"websocket_client.ts"
- ]
+ ],
+ "watchOptions": {
+ // Use native file system events for files and directories
+ "watchFile": "useFsEvents",
+ "watchDirectory": "useFsEvents",
+ // Poll files for updates more frequently
+ // when they're updated a lot.
+ "fallbackPolling": "dynamicPriority",
+ // Don't coalesce watch notification
+ "synchronousWatchDirectory": true,
+ // Finally, two additional settings for reducing the amount of possible
+ // files to track work from these directories
+ "excludeDirectories": ["**/node_modules"]
+ }
}