Skip to content

Commit

Permalink
Merge pull request #37 from replit/dstewart/bug/add-more-top-level-ex…
Browse files Browse the repository at this point in the history
…cludes

Make chokidar excludes list match the top-level excludes
  • Loading branch information
blast-hardcheese authored Mar 22, 2024
2 parents 471bd42 + 9a2f643 commit d8a272e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class ChokidarFileWatcherProvider implements FileWatcherProvider {
watcherOptions.usePolling = false;
}

const excludes: string[] = ['**/__pycache__/**'];
const excludes: string[] = ['**/node_modules', '**/__pycache__', '**/.*'];
if (_isMacintosh || _isLinux) {
if (paths.some((path) => path === '' || path === '/')) {
excludes.push('/dev/**');
Expand Down

0 comments on commit d8a272e

Please sign in to comment.