-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading wrong file on file changes #2
Comments
Can you please show the code snippet with issue in pug file? |
Exact the error TS2339 can I reproduce local if in template is used a angular variable not defined (or private For example: app.component.ts import { Component } from '@angular/core';
@Component({
selector: 'app-root',
styleUrls: ['./app.component.css'],
templateUrl: './app.component.pug',
})
export class AppComponent {
myCssClass = 'my-css-class';
} app.component.pug #myDiv([class]="myCssClass") some text... This work, but if to delete the property Perhaps, you should check whether the property |
Issue no longer happening with the latest version and with the |
First time build seems to run fine, but on file changes a wrong file seems to be recompiled giving me cryptic angular errors
and then the code shown actually concerns a different file altogether.
The text was updated successfully, but these errors were encountered: