jest-dev-server
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [3.5.0](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/compare/v3.4.0...v3.5.0) (2018-11-04) | ||
### Bug Fixes | ||
* **jest-dev-server:** do not require port to run server ([5aee5fe](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/commit/5aee5fe)), closes [#146](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/issues/146) | ||
* **jest-dev-server:** do not scan process if usedPortAction is "ignore" ([cceb0bd](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/commit/cceb0bd)), closes [#96](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/issues/96) | ||
<a name="3.4.0"></a> | ||
@@ -8,0 +20,0 @@ # [3.4.0](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server/compare/v3.3.1...v3.4.0) (2018-09-24) |
@@ -109,3 +109,3 @@ "use strict"; | ||
if (config.port) { | ||
if (config.port && config.usedPortAction !== 'ignore') { | ||
const [portProcess] = await (0, _findProcess.default)('port', config.port); | ||
@@ -115,7 +115,2 @@ | ||
switch (config.usedPortAction) { | ||
case 'ignore': | ||
console.log(''); | ||
logProcDetection(portProcess, config.port); | ||
return; | ||
case 'error': | ||
@@ -154,4 +149,7 @@ throw new JestDevServerError(`Port ${config.port} is already used by ${portProcess.name}, please kill it first`, ERROR_PORT_USED); | ||
} | ||
} | ||
runServer(config); | ||
runServer(config); | ||
if (config.port) { | ||
const { | ||
@@ -158,0 +156,0 @@ launchTimeout |
{ | ||
"name": "jest-dev-server", | ||
"description": "Starts a server before your Jest tests and tears it down after.", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"main": "index.js", | ||
@@ -23,3 +23,3 @@ "repository": "https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server", | ||
"cwd": "^0.10.0", | ||
"find-process": "^1.1.3", | ||
"find-process": "^1.2.0", | ||
"inquirer": "^6.2.0", | ||
@@ -30,3 +30,3 @@ "spawnd": "^3.4.0", | ||
}, | ||
"gitHead": "5c014f28a9a67b765dcc468471bc23a437903b18" | ||
"gitHead": "8e41ec8e8c2bf3a8fbfc72a003940800b4fabc62" | ||
} |
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
13723
142
Updatedfind-process@^1.2.0