I am making changes to a project generated with angular-cli but it seems that I am hanging some file in cache and node does not realize it and keeps sending me an error message
ERROR in D:/Workspace/NodeJs/TrackEditor/src/app/pages/pages/pages.component.ts (6,5): Argument of type '{ selector: string; templateUrl: string; stylesUrl: string[]; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'stylesUrl' does not exist in type 'Component'.
webpack: Failed to compile.
I corrected the pages.component.ts but it does not take the changes.
import { Component } from '@angular/core';
@Component({
selector: 'app-pages',
templateUrl: './pages.component.html',
styleUrls: ['./pages.css']
})
export class PagesComponent {}
some way to clean the cache and recompile the project.
Thanks