fix(watcher.node): Handle fs.watch close without spurious restarts; add tests and improve test runner

This commit is contained in:
2025-12-10 16:52:06 +00:00
parent 2f55f628f5
commit 4894253e48
9 changed files with 442 additions and 54 deletions

View File

@@ -6,7 +6,7 @@
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"scripts": {
"test": "(npm run prepareTest && tstest test/)",
"test": "(npm run prepareTest && tstest test/ --verbose --logfile --timeout 120)",
"prepareTest": "(rm -f ./test/assets/hi.txt)",
"build": "tsbuild tsfolders",
"buildDocs": "tsdoc"