fix(SmartFsProviderNode): Fix Node provider watch path handling and remove main test entry

This commit is contained in:
2025-11-29 21:01:51 +00:00
parent 381680f2e7
commit 6308e198c7
4 changed files with 14 additions and 9 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-11-29 - 1.1.2 - fix(SmartFsProviderNode)
Fix Node provider watch path handling and remove main test entry
- Node provider: detect at start whether the watched path is a file or directory (fs.stat) and build fullPath accordingly so watching a single file does not incorrectly join the filename onto the file path.
- Watch callback: ensure events are evaluated against the configured filter using the correct full path.
- Tests: removed test/test.ts (main test entry that previously imported provider test files).
## 2025-11-29 - 1.1.1 - fix(smartfs.provider.node)
Default deleteDirectory to recursive=true in Node provider