docs.. onServerUp message changed
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
[](https://david-dm.org/75lb/local-web-server)
|
[](https://david-dm.org/75lb/local-web-server)
|
||||||
[](https://github.com/feross/standard)
|
[](https://github.com/feross/standard)
|
||||||
|
|
||||||
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@^1.0.0-beta`***
|
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@next`***
|
||||||
|
|
||||||
# local-web-server
|
# local-web-server
|
||||||
A simple web-server for productive front-end development. Typical use cases:
|
A simple web-server for productive front-end development. Typical use cases:
|
||||||
|
@ -57,7 +57,7 @@ function onServerUp () {
|
|||||||
.map(key => os.networkInterfaces()[key])
|
.map(key => os.networkInterfaces()[key])
|
||||||
.reduce((prev, curr) => prev = prev.concat(curr), [])
|
.reduce((prev, curr) => prev = prev.concat(curr), [])
|
||||||
.filter(iface => iface.family === 'IPv4')
|
.filter(iface => iface.family === 'IPv4')
|
||||||
.map(iface => `[underline]{${iface.address}:${options.server.port}}`)
|
.map(iface => `[underline]{http://${iface.address}:${options.server.port}}`)
|
||||||
.join(', ')
|
.join(', ')
|
||||||
|
|
||||||
console.error(ansi.format(
|
console.error(ansi.format(
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
[](https://david-dm.org/75lb/local-web-server)
|
[](https://david-dm.org/75lb/local-web-server)
|
||||||
[](https://github.com/feross/standard)
|
[](https://github.com/feross/standard)
|
||||||
|
|
||||||
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@^1.0.0-beta`***
|
***This is the documentation for the next version. For the previous release, see the `prev` branch. To install this prerelease: `$ npm i -g local-web-server@next`***
|
||||||
|
|
||||||
# local-web-server
|
# local-web-server
|
||||||
A simple web-server for productive front-end development. Typical use cases:
|
A simple web-server for productive front-end development. Typical use cases:
|
||||||
|
Reference in New Issue
Block a user