@cypress/vite-dev-server
Advanced tools
Comparing version 5.1.1 to 5.2.0
@@ -35,3 +35,7 @@ "use strict"; | ||
close(cb) { | ||
return server.close().then(() => cb === null || cb === void 0 ? void 0 : cb()).catch(cb); | ||
debug('closing dev server'); | ||
return server.close().then(() => { | ||
debug('closed dev server'); | ||
cb === null || cb === void 0 ? void 0 : cb(); | ||
}).catch(cb); | ||
}, | ||
@@ -38,0 +42,0 @@ }; |
@@ -27,2 +27,3 @@ "use strict"; | ||
devServerEvents.on('dev-server:specs:changed', (specs) => { | ||
debug(`dev-server:secs:changed: ${specs.map((spec) => spec.relative)}`); | ||
specsPathsSet = getSpecsPathsSet(specs); | ||
@@ -29,0 +30,0 @@ }); |
@@ -55,3 +55,3 @@ "use strict"; | ||
var _a, _b, _c; | ||
const { cypressConfig: { port, projectRoot, devServerPublicPathRoute, supportFile, cypressBinaryRoot, isTextTerminal, }, specs, } = config; | ||
const { cypressConfig: { experimentalJustInTimeCompile, port, projectRoot, devServerPublicPathRoute, supportFile, cypressBinaryRoot, isTextTerminal, }, specs, } = config; | ||
const vitePort = port !== null && port !== void 0 ? port : undefined; | ||
@@ -99,3 +99,3 @@ // Vite caches its output in the .vite directory in the node_modules where vite lives. | ||
], | ||
}, port: vitePort, host: '127.0.0.1' }, (isTextTerminal | ||
}, port: vitePort, host: '127.0.0.1' }, (isTextTerminal && !experimentalJustInTimeCompile | ||
? { watch: { ignored: '**/*' }, hmr: false } | ||
@@ -102,0 +102,0 @@ : {})), |
{ | ||
"name": "@cypress/vite-dev-server", | ||
"version": "5.1.1", | ||
"version": "5.2.0", | ||
"description": "Launches Vite Dev Server for Component Testing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
30591
517