Skip to content

Commit

Permalink
fix(mini-runner): 修复 watch 时修改页面导致组件无法及时更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Dec 31, 2019
1 parent b633d11 commit c51f9b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/taro-mini-runner/src/plugins/MiniPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,9 @@ export default class MiniPlugin {
}
this.transferFileContent(compiler)
}
if (!this.components.has(obj)) {
this.components.add(obj)
}
}
}
}
Expand Down

0 comments on commit c51f9b9

Please sign in to comment.