diff --git a/services/web/frontend/js/features/pdf-preview/util/compiler.js b/services/web/frontend/js/features/pdf-preview/util/compiler.js index 504aa5983b..1a0cd5668e 100644 --- a/services/web/frontend/js/features/pdf-preview/util/compiler.js +++ b/services/web/frontend/js/features/pdf-preview/util/compiler.js @@ -67,6 +67,9 @@ export default class DocumentCompiler { }) if (wasCompiling) { + if (options.isAutoCompileOnChange) { + this.debouncedAutoCompile() + } return }