mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
allow autocompile without code check
This commit is contained in:
parent
b65b67f8e6
commit
8d91cd2748
1 changed files with 3 additions and 1 deletions
|
@ -90,7 +90,9 @@ define [
|
||||||
# to block auto compiles. It also causes problems where server-provided
|
# to block auto compiles. It also causes problems where server-provided
|
||||||
# linting errors aren't cleared after typing
|
# linting errors aren't cleared after typing
|
||||||
if (ide.$scope.settings.syntaxValidation and !ide.$scope.hasLintingError)
|
if (ide.$scope.settings.syntaxValidation and !ide.$scope.hasLintingError)
|
||||||
$scope.recompile(isAutoCompileOnChange: true)
|
$scope.recompile(isAutoCompileOnChange: true) # compile if no linting errors
|
||||||
|
else if !ide.$scope.settings.syntaxValidation
|
||||||
|
$scope.recompile(isAutoCompileOnChange: true) # always recompile
|
||||||
else
|
else
|
||||||
# Extend remainder of timeout
|
# Extend remainder of timeout
|
||||||
autoCompileTimeout = setTimeout () ->
|
autoCompileTimeout = setTimeout () ->
|
||||||
|
|
Loading…
Reference in a new issue