diff options
| author | Adam Malczewski <[email protected]> | 2026-06-04 16:16:45 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-04 16:16:45 +0900 |
| commit | 81a9cdbadf8c9d940d4fe9a2a0de607dee1f5f1a (patch) | |
| tree | dff8ce0e55f27b490445ddaf9fb6536d1313ffcf /packages/core/src/config/index.ts | |
| parent | 24bdaa6ca0333b91369ac50b23e929f83af01c3a (diff) | |
| download | dispatch-v2-deprecated.tar.gz dispatch-v2-deprecated.zip | |
feat(config): add subdirectory LSP config watchers and fix permission orderingv2-deprecated
- Add watchDirConfig() for per-directory config watching
- Register watchers for subdirectories with their own dispatch.toml
- Fix permission ordering: move "*" wildcard to front so findLast
reaches specific rules first (was silently breaking all specific
bash permission rules)
- Add comprehensive tests for watcher functionality
- Update mocks in test files
Diffstat (limited to 'packages/core/src/config/index.ts')
| -rw-r--r-- | packages/core/src/config/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/config/index.ts b/packages/core/src/config/index.ts index 4806409..7f76dd7 100644 --- a/packages/core/src/config/index.ts +++ b/packages/core/src/config/index.ts @@ -6,4 +6,4 @@ export { mergeConfigs, } from "./loader.js"; export { validateConfig } from "./schema.js"; -export { createConfigWatcher } from "./watcher.js"; +export { createConfigWatcher, watchDirConfig } from "./watcher.js"; |
