diff --git a/code/lib/core-server/src/utils/watch-story-specifiers.ts b/code/lib/core-server/src/utils/watch-story-specifiers.ts index a0d1818be720..245639579748 100644 --- a/code/lib/core-server/src/utils/watch-story-specifiers.ts +++ b/code/lib/core-server/src/utils/watch-story-specifiers.ts @@ -33,7 +33,7 @@ export function watchStorySpecifiers( const wp = new Watchpack({ // poll: true, // Slow!!! Enable only in special cases followSymlinks: false, - ignored: ['**/.git', 'node_modules'], + ignored: ['**/.git', '**/node_modules'], }); wp.watch({ directories: uniq(specifiers.map((ns) => ns.directory)),