fix(ivy): recompile on template change in ngc watch mode on Windows (#34015)
In #33551, a bug in `ngc --watch` mode was fixed so that a component is recompiled when its template file is changed. Due to insufficient normalization of files paths, this fix did not have the desired effect on Windows. Fixes #32869 PR Close #34015
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import * as ts from 'typescript';
|
||||
import {AbsoluteFsPath} from '../file_system';
|
||||
|
||||
/**
|
||||
* Interface of the incremental build engine.
|
||||
@ -33,7 +34,7 @@ export interface DependencyTracker<T extends{fileName: string} = ts.SourceFile>
|
||||
/**
|
||||
* Record that the file `from` depends on the resource file `on`.
|
||||
*/
|
||||
addResourceDependency(from: T, on: string): void;
|
||||
addResourceDependency(from: T, on: AbsoluteFsPath): void;
|
||||
|
||||
/**
|
||||
* Record that the file `from` depends on the file `on` as well as `on`'s direct dependencies.
|
||||
|
Reference in New Issue
Block a user