fix broken link

This commit is contained in:
Lloyd Brookes
2014-02-09 08:19:26 +01:00
parent 85266f91e0
commit 42573b12c6
2 changed files with 2 additions and 8 deletions

View File

@ -30,7 +30,7 @@ $ ws --port 9000
serving at http://localhost:9000
```
Use a built-in or custom [Connect logger format](http://www.senchalabs.org/connect/middleware-logger.html) with `--log-format`:
Use a built-in or custom [Connect logger format](http://www.senchalabs.org/connect/logger.html) with `--log-format`:
```sh
$ ws --log-format short
```

8
ws.js
View File

@ -10,7 +10,7 @@ function halt(message){
console.log(wodge.red("Error ") + message);
console.log(usage);
process.exit(1);
}
var options = new Thing()
.define({ name: "port", alias: "p", type: "number", defaultOption: true, value: 8000 })
@ -55,9 +55,3 @@ if (!options.valid){
process.stderr.write("serving at http://localhost:" + options.port + "\n");
}
// open several sites with one command $ ws project1:8000 project2:8100
// store port in package.json, e.g. "ws-port": 9000
// ws -a to open a whole slew of sites stored in json
// ws -o to open in default browser
// ch, ff, op, sa, ca etc. to open in specific browser