-
-
Notifications
You must be signed in to change notification settings - Fork 68.9k
[Bug]: skills glob file change watch via chokidar is not worked #27404
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
// Standard layout: <skillsRoot>/<skillName>/SKILL.md
targets.add(`${globRoot}/*/SKILL.md`);
const watcher = chokidar.watch(watchTargets, {
ignoreInitial: true,
awaitWriteFinish: {
stabilityThreshold: debounceMs,
pollInterval: 100,
},
chokidar is not support glob >=v4 (https://github.com/paulmillr/chokidar)
chokidar github changeLog :
Steps to reproduce
1.change the file like 'echo test >> ~/.openclaw/workspace/skills/calendar/SKILL.md' , but not watched the file change event
2. 'echo test >> ~/.openclaw/workspace/skills/SKILL.md' it is ok . watched file change event success.
Expected behavior
1.it should watched the SKILL.md file change evnet
Actual behavior
1.no event watched
OpenClaw version
2026.02.26
Operating system
macOS & debian
Install method
pnpm dev
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.