File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,22 @@ export class someClass2 { }`);
187
187
}
188
188
} ) ;
189
189
190
+ it ( "non local change does not start build of referencing projects" , ( ) => {
191
+ const host = createSolutionInWatchMode ( allFiles ) ;
192
+ const outputFileStamps = getOutputFileStamps ( host ) ;
193
+ host . writeFile ( core [ 1 ] . path , `${ core [ 1 ] . content }
194
+ function foo() { }` ) ;
195
+ host . checkTimeoutQueueLengthAndRun ( 1 ) ; // Builds core
196
+ const changedCore = getOutputFileStamps ( host ) ;
197
+ verifyChangedFiles ( changedCore , outputFileStamps , [
198
+ ...getOutputFileNames ( SubProject . core , "anotherModule" ) , // This should not be written really
199
+ ...getOutputFileNames ( SubProject . core , "index" ) ,
200
+ ] ) ;
201
+ host . checkTimeoutQueueLength ( 0 ) ;
202
+ checkOutputErrorsIncremental ( host , emptyArray ) ;
203
+ verifyWatches ( host ) ;
204
+ } ) ;
205
+
190
206
it ( "builds when new file is added, and its subsequent updates" , ( ) => {
191
207
const additinalFiles : ReadonlyArray < [ SubProject , string ] > = [ [ SubProject . core , newFileWithoutExtension ] ] ;
192
208
const { verifyChangeWithFile } = createSolutionInWatchModeToVerifyChanges ( additinalFiles ) ;
You can’t perform that action at this time.
0 commit comments