@10stars/config 16.0.0 → 16.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10stars/config",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "config": "./src/index.ts"
@@ -38,7 +38,13 @@
38
38
  "watchOptions": {
39
39
  // Use native file system events for files and directories
40
40
  "watchFile": "useFsEventsOnParentDirectory",
41
- "watchDirectory": "useFsEvents",
41
+ // Watch parent dirs (one FSEvents stream per parent) instead of one stream per directory:
42
+ // watching node_modules deps (e.g. happy-dom's thousands of element dirs) with per-dir streams
43
+ // exhausts the macOS FSEvents/open-fd limit -> "error starting FSEvents stream".
44
+ "watchDirectory": "useFsEventsOnParentDirectory",
45
+
46
+ // Never watch dependencies (they aren't edited); removes the bulk of watched dirs.
47
+ "excludeDirectories": ["**/node_modules"],
42
48
 
43
49
  // Poll files for updates more frequently
44
50
  // when they're updated a lot.