-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preprocessor: reset executor error state for each event in serve
Per https://cuelang.org/issue/2826, currently if the serve mode of the preprocessor sees an error, the preprocessor can never recover from that error state. Even if an error in a page is fixed, the preprocessor thinks that there is still an error and hence never transforms the fixed page, hence the rendered HTML page (via Hugo) never updates. This CL fixes a bug in the serve mode of the executor that did not reset the error status after the handling of a watched event (or batch of events). Fixes cue-lang/cue#2826. Preprocessor-No-Write-Cache: true Signed-off-by: Paul Jolly <[email protected]> Change-Id: I72231fd8df31945465eb81c48060c2612a0aa192 Dispatch-Trailer: {"type":"trybot","CL":1176998,"patchset":1,"ref":"refs/changes/98/1176998/1","targetBranch":"alpha"}
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters