Skip to content

Commit

Permalink
fix(mini-runner): 修复 watch 时文件报错导致无法重新编译的问题,fix #4949
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Jan 7, 2020
1 parent c871702 commit 57f049d
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 153 deletions.
2 changes: 1 addition & 1 deletion packages/taro-mini-runner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function build (appPath: string, config: IBuildConfig, mainBuilde
bindDevLogger(compiler, config.buildAdapter)
compiler.watch({
aggregateTimeout: 300,
poll: undefined
poll: true
}, (err, stats) => {
if (err) {
printBuildError(err)
Expand Down
Loading

0 comments on commit 57f049d

Please sign in to comment.