Skip to content

Commit

Permalink
perf: disable globbing for watch
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Dec 5, 2019
1 parent a860a12 commit 520e8ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-cli/src/babel/file.js
Expand Up @@ -216,6 +216,7 @@ export default async function({
const chokidar = util.requireChokidar();
chokidar
.watch(filenames, {
disableGlobbing: true,
persistent: true,
ignoreInitial: true,
awaitWriteFinish: {
Expand Down

0 comments on commit 520e8ab

Please sign in to comment.