@analogjs/vite-plugin-angular
Advanced tools
Comparing version 1.10.2-beta.11 to 1.10.2-beta.12
{ | ||
"name": "@analogjs/vite-plugin-angular", | ||
"version": "1.10.2-beta.11", | ||
"version": "1.10.2-beta.12", | ||
"description": "Vite Plugin for Angular", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -64,2 +64,3 @@ import { dirname, resolve } from 'node:path'; | ||
let watchMode = false; | ||
let testWatchMode = false; | ||
const sourceFileCache = new SourceFileCache(); | ||
@@ -126,2 +127,3 @@ const isTest = process.env['NODE_ENV'] === 'test' || !!process.env['VITEST']; | ||
resolvedConfig = config; | ||
testWatchMode = !(config.server.watch === null); | ||
}, | ||
@@ -231,2 +233,5 @@ configureServer(server) { | ||
sourceFileCache.invalidate([id]); | ||
if (testWatchMode) { | ||
await buildAndAnalyze(); | ||
} | ||
} | ||
@@ -233,0 +238,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167290
2283