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 Jul 30, 2019
1 parent ad5224c commit 912a545
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 @@ -213,6 +213,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 912a545

Please sign in to comment.