We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c8a6a commit d39a588Copy full SHA for d39a588
packages/commandkit/src/cli/development.ts
@@ -125,10 +125,7 @@ export async function bootstrapDevelopmentServer(configPath?: string) {
125
watcher.on('change', hmrHandler);
126
watcher.on('add', hmrHandler);
127
watcher.on('unlink', hmrHandler);
128
- watcher.on('unlinkDir', (path) => {
129
- const hasChild = readdirSync(path).length > 0;
130
- if (hasChild) return hmrHandler(path);
131
- });
+ watcher.on('unlinkDir', hmrHandler);
132
watcher.on('error', (e) => {
133
console.error(e);
134
});
0 commit comments