hiddentao / gulp-server-livereload

Gulp plugin to run a local webserver with livereload enabled via socket.io. Also comes with standalone command-line interface.
MIT License
93 stars 28 forks source link

add an executable script, and document #13

Closed MetaMemoryT closed 9 years ago

MetaMemoryT commented 9 years ago

This addresses https://github.com/hiddentao/gulp-server-livereload/issues/12

hiddentao commented 9 years ago

This is nice, though I'm not keen on how the arguments parsing is being done. Please rewrite that using https://www.npmjs.com/package/commander as it will make life a lot easier.

MetaMemoryT commented 9 years ago

sure, didn't know if extra dep too much bloat for a gulp plugin.

hiddentao commented 9 years ago

commander has only one small dependency and is mostly self-contained. I think it's worth adding it in as it will make adding future CLI options easier too.

MetaMemoryT commented 9 years ago

Now the script uses commander for argument parsing.

hiddentao commented 9 years ago

I will look at this tomorrow. I think the README needs better documentation (e.g. output of the --help command) on this but I don't mind doing that myself.