yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
165 stars 14 forks source link

Doesn't provide CLI usage like live-server #12

Closed feljx closed 3 years ago

feljx commented 3 years ago

I want to control my workflow through NPM scripts rather than using the VS Code extension, and I'd like to avoid using yet another config file just for the dev server. live-server provides CLI commands for this purpose, it doesn't seem like this project does, stuff like --no-browser and --open=PATH.

I can contribute a PR if you are open to including CLI commands.

yandeu commented 3 years ago

This already exists but is not well documented. But, you can of course also use a config file for your workflow.