From d941177547741af17ae692b8065f5a03ab3382c5 Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Tue, 7 Jun 2016 15:08:46 -0700 Subject: [PATCH] check if moduleResolution when verifying that program can be reused --- src/compiler/program.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index bab554927e7..5b64d066da1 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1143,6 +1143,7 @@ namespace ts { // if any of these properties has changed - structure cannot be reused const oldOptions = oldProgram.getCompilerOptions(); if ((oldOptions.module !== options.module) || + (oldOptions.moduleResolution !== options.moduleResolution) || (oldOptions.noResolve !== options.noResolve) || (oldOptions.target !== options.target) || (oldOptions.noLib !== options.noLib) ||