@poi/dev-utils
Advanced tools
Comparing version 12.1.0 to 12.1.1
@@ -6,2 +6,9 @@ # Change Log | ||
## [12.1.1](https://github.com/egoist/poi/compare/@poi/dev-utils@12.1.0...@poi/dev-utils@12.1.1) (2019-01-23) | ||
### Bug Fixes | ||
- format build time in human-readable format ([a89ecd0](https://github.com/egoist/poi/commit/a89ecd0)) | ||
- use a new port if the port is already used ([62053e5](https://github.com/egoist/poi/commit/62053e5)) | ||
# [12.1.0](https://github.com/egoist/poi/compare/@poi/dev-utils@12.0.3...@poi/dev-utils@12.1.0) (2019-01-09) | ||
@@ -8,0 +15,0 @@ |
{ | ||
"name": "@poi/dev-utils", | ||
"version": "12.1.0", | ||
"version": "12.1.1", | ||
"publishConfig": { | ||
@@ -21,3 +21,3 @@ "access": "public" | ||
"xo": false, | ||
"gitHead": "53b53b546eba2662148e0b044b407c42f5ea162f" | ||
"gitHead": "ddffa7d8b8a94e3d3ec5eb0b1eec7d97355c0eb5" | ||
} |
@@ -5,3 +5,3 @@ const address = require('address') | ||
module.exports = ({ host, port, open, isFirstBuild }) => { | ||
module.exports = ({ host, port, expectedPort, open, isFirstBuild }) => { | ||
const ip = address.ip() | ||
@@ -17,3 +17,6 @@ | ||
console.log() | ||
console.log(colors.dim(`(${prettyBytes(heapUsed)} memory used)`)) | ||
if (expectedPort && expectedPort !== port) { | ||
console.log(colors.yellow(`> port ${expectedPort} is used!`)) | ||
} | ||
console.log(colors.dim(`> ${prettyBytes(heapUsed)} memory used`)) | ||
console.log() | ||
@@ -20,0 +23,0 @@ |
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
33573
834