add non-current-working-directory support

This commit is contained in:
Andrew Sidesinger
2014-02-08 21:09:54 -05:00
parent 85266f91e0
commit 758ba05bd1
2 changed files with 9 additions and 3 deletions

View File

@ -24,6 +24,11 @@ $ ws
serving at http://localhost:8000
```
If you wish to serve a different directory, run:
```sh
$ ws -d ~/mysite/
```
If you wish to override the default port (8000), use `--port` or `-p`:
```sh
$ ws --port 9000