This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
ream dev
triple rebuild
#124
Labels
Comments
I think that compiler.watch = function () {
console.log(`[${new Date()}] time-fix-plugin compiler.watch`)
watching = watch.apply(this, arguments)
console.log(`[${new Date()}] time-fix-plugin compiler.watch created watching`)
return watching
}
compiler.hooks.watchRun.tap('time-fix-plugin', () => {
console.log(`[${new Date()}] time-fix-plugin watchRun watchin ${watching && new Date(watching.startTime)}`)
if (watching) {
watching.startTime += this.watchOffset
offsetApplied = true
}
}) and the output is:
you can see that during the first However it's not not necessary the cause because when I add a 1 second pause to
@egoist thoughts? |
IlyaSemenov
referenced
this issue
in IlyaSemenov/time-fix-plugin
Oct 15, 2018
See ream/ream#124 for the test case
@egoist please see the suggested fix: egoist/time-fix-plugin#2 I can't say I'm 100% sure in the fix, but it fixes this issue and doesn't break watching. I could be missing something of course. |
egoist
referenced
this issue
in egoist/time-fix-plugin
Oct 16, 2018
* fix: prevent extra first recompilation See ream/ream#124 for the test case * Fix this
🎉 This issue has been resolved in version 3.3.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Typically starting
ream dev
leads to triple recompile:The text was updated successfully, but these errors were encountered: