Browse Source

docs.. onServerUp message changed

master
Lloyd Brookes 9 years ago
parent
commit
d38ac16e71
  1. 2
      README.md
  2. 2
      bin/cli.js
  3. 2
      jsdoc2md/README.hbs

2
README.md

@ -4,7 +4,7 @@
[![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server) [![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](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:

2
bin/cli.js

@ -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(

2
jsdoc2md/README.hbs

@ -4,7 +4,7 @@
[![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server) [![Dependency Status](https://david-dm.org/75lb/local-web-server.svg)](https://david-dm.org/75lb/local-web-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](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:

Loading…
Cancel
Save