Merge pull request #8286 from overleaf/em-halt-on-error-backend
Stop on first error backend implementation GitOrigin-RevId: 497b1ed2c13f544760d8ad8d029359db75275389
This commit is contained in:
@@ -224,6 +224,11 @@ export function LocalCompileProvider({ children }) {
|
||||
compiler.draft = draft
|
||||
}, [compiler, draft])
|
||||
|
||||
// keep stop on first error setting in sync with the compiler
|
||||
useEffect(() => {
|
||||
compiler.stopOnFirstError = stopOnFirstError
|
||||
}, [compiler, stopOnFirstError])
|
||||
|
||||
// pass the "uncompiled" value up into the scope for use outside this context provider
|
||||
useEffect(() => {
|
||||
setUncompiled(changedAt > 0)
|
||||
|
||||
Reference in New Issue
Block a user