From 7610512a2523f0e7b1e5574ab73492cdcba6114f Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Fri, 24 Jan 2014 19:49:11 +0100 Subject: [PATCH] readme --- README.md | 8 ++++---- ws.js | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c6b8463..6b265aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ [![NPM version](https://badge.fury.io/js/local-web-server.png)](http://badge.fury.io/js/local-web-server) +[![Dependency Status](https://david-dm.org/75lb/local-web-server.png)](https://david-dm.org/75lb/local-web-server) +![Analytics](https://ga-beacon.appspot.com/UA-27725889-12/local-web-server/README.md?pixel) + local-web-server ================ Fires up a simple, static web server on a given port. Use for local web development or file sharing (directory browsing enabled). @@ -51,7 +54,4 @@ Alternatively, pipe directly from ws into logstalgia for real-time visualisation $ ws --log-format default | logstalgia - ``` -[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/050b17b4263c08f12a2a9d9bbda80025 "githalytics.com")](http://githalytics.com/75lb/local-web-server) -[![NPM](https://nodei.co/npm-dl/local-web-server.png?months=1)](https://nodei.co/npm/local-web-server/) - -[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/75lb/local-web-server/trend.png)](https://bitdeli.com/free "Bitdeli Badge") +[![NPM](https://nodei.co/npm-dl/local-web-server.png?months=3)](https://nodei.co/npm/local-web-server/) diff --git a/ws.js b/ws.js index c71816f..7ca9a83 100755 --- a/ws.js +++ b/ws.js @@ -55,3 +55,6 @@ if (!options.valid){ process.stderr.write("serving at http://localhost:" + options.port + "\n"); } + +// open serveral sites with one command $ ws project1:8000 project2:8100 +// store port in package.json, e.g. "ws-port": 9000 \ No newline at end of file