Skip to content

Commit

Permalink
add the default .eslintcache location to the watchignore
Browse files Browse the repository at this point in the history
  • Loading branch information
rizowski committed Sep 20, 2019
1 parent 522d83e commit b3a44cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const defaultOptions = [
{
option: 'watch-ignore',
type: 'RegExp',
description: 'Regex string of folders to ignore when watching - default: /.git|node_modules|bower_components/',
description: 'Regex string of folders to ignore when watching - default: /.git|node_modules|bower_components|.eslintcache/',
},
{
option: 'watch-delay',
Expand Down
2 changes: 1 addition & 1 deletion src/events/watch/chokidar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createLogger } from '../../logger';

const logger = createLogger('watch:chokidar');

const ignoredPath = /\.git|node_modules|bower_components/;
const ignoredPath = /\.git|node_modules|bower_components|\.eslintcache/;

export default {
createWatcher(dirs, options = {}) {
Expand Down

0 comments on commit b3a44cc

Please sign in to comment.