diff --git a/tools/tsc-watch/tsc_watch.ts b/tools/tsc-watch/tsc_watch.ts index 7ba30f90ec..5aa79db5b4 100644 --- a/tools/tsc-watch/tsc_watch.ts +++ b/tools/tsc-watch/tsc_watch.ts @@ -37,7 +37,7 @@ export class TscWatch { } watch() { - var args = [TSC, '--project', this.tsconfig]; + var args = [TSC, '--emitDecoratorMetadata', '--project', this.tsconfig]; if (!this.runOnce) args.push('--watch'); var tsc = this.runCmd(args, {}, (d) => this.consumeLine(d, false), (d) => this.consumeLine(d, true));