You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix --watch not recompiling sources modified during a compilation (#2850)
Sources modified while a compilation is in progress are older than the output that compilation writes when it finishes, so --watch and --update wrongly consider them up to date and skip recompilation. Set the output's modification time to when compilation started so such sources compare as newer, including across restarts.
---------
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
0 commit comments