nitoyon/livereloadx — pull request #7 by ngyuki (2014-04-22 11:03:15+00:00)
Title: Fix port option

Hi.

Third argument of `commander.option` has changed in 2.2.0.

- https://github.com/visionmedia/commander.js/compare/2.1.0...2.2.0#diff-168726dbe96b3ce427e7fedce31bb0bcL327

Port option can no longer specified in livereload for that.

```console
$ node bin/livereloadx.js -s --port 8888
2014-04-22 19:42:40 - error: Invalid value: port should be a number
```

I tried to fix `--port` option.
Incidentally, fixed also broken test of StaticHandler.

Would you mind review this code?

---

Or... I think. modify to package.json might be good.

```diff
- "commander": ">= 1.1.1",
+ "commander": "~ 1.1.1",
```