Skip to content

Commit b76c37a

Browse files
committed
fix a review bug
1 parent fa381eb commit b76c37a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rescript

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ if (
530530
// helps avoid redundant build, but this will
531531
// save the event loop call `setImmediate`
532532
return;
533-
}
534-
LAST_FIRED_EVENT = event_time;
533+
}
535534
if (validEvent(event, reason)) {
536535
dlog(`\nEvent ${event} ${reason}`);
536+
LAST_FIRED_EVENT = event_time;
537537
reasons_to_rebuild.push([event, reason]);
538538
// Some editors are using temporary files to store edits.
539539
// This results in two sync change events: change + rename and two sync builds.

0 commit comments

Comments
 (0)