fix(js): execute postCompilationCallback in compileTypeScriptFiles in watch mode (#9254)
Execute the postCompilationCallback regardless of the watch option value ISSUES CLOSED: #9253 Co-authored-by: Hannes Schmid <hannes.schmid@solunio.com>
This commit is contained in:
parent
1440f8362c
commit
064d7ec30c
@ -54,6 +54,7 @@ export async function* compileTypeScriptFiles(
|
||||
if (normalizedOptions.watch) {
|
||||
compileTypeScriptWatcher(tscOptions, async (d: Diagnostic) => {
|
||||
if (d.code === 6194) {
|
||||
await postCompilationCallback();
|
||||
next(getResult(true));
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user