I suppose the afterCompiling method shall be called aftercompileIfDirty ?
That won't work.
Note that compileIfDirty is async and is not called using await. So it will return probably on the first await call that actually does something asynchronous (interruptIfNeeded?).
The following sequence occurs twice:
https://github.com/martin-pabst/Online-IDE-new-compiler/blob/47446e324247c83665868048f60ade72b1f3dbd0/src/compiler/java/JavaCompiler.ts#L263-L265
I suppose the
afterCompiling
method shall be called aftercompileIfDirty
?That won't work.
Note that
compileIfDirty
is async and is not called usingawait
. So it will return probably on the firstawait
call that actually does something asynchronous (interruptIfNeeded
?).I could rework some of that stuff ... ?