Skip to content

Commit

Permalink
Update options tests and README
Browse files Browse the repository at this point in the history
  • Loading branch information
doublesharp committed Jan 27, 2017
1 parent d37a96b commit ad47b74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Oh, do you want some specific stuff? Checkout the available <a href="#options">o
--port, --p change port
--host, --h change the host name
--secure, --s use https/wss
--cors, --c respond to requests with CORS headers
--quiet, --q no logging whatsoever
--noBrowser, --nb won't open the browser automagically
--only, --o will only watch for changes in the given path/glob/regex/array
Expand Down Expand Up @@ -116,6 +117,7 @@ new Server({quiet: true}).start();
--port is 1307
--host is 127.0.0.1
--secure is false
--cors is false
--quiet is false
--only is ".", which means it'll watch everything
--ignore is ^(.git|node_modules|bower_components|jspm_packages|test|typings|coverage|unit_coverage)
Expand Down
1 change: 1 addition & 0 deletions test/options_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('options', () => {
expect(options.pathIndex).to.equal('');
expect(options.noBrowser).to.be.false;
expect(options.secure).to.be.false;
expect(options.cors).to.be.false;
expect(options.static).to.deep.equal([]);
expect(options.quiet).to.be.false;
expect(options.proxy).to.be.false;
Expand Down

0 comments on commit ad47b74

Please sign in to comment.