diff --git a/src/index.ts b/src/index.ts index 7e636b6b..ef134950 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,6 +28,9 @@ export class TypeScriptPlugin { this.options = options this.hooks = { + 'before:run:run': async () => { + await this.compileTs() + }, 'before:offline:start': async () => { await this.compileTs() this.watchAll()