Add option to sirv-cli to not clear the console buffer
See original GitHub issueFirst off, awesome work on sirv. I use it basically every day and love the simplicity. So nice not to have to implement a native http
server for each project to get the near native performance ❤️
My typically use case is to add sirv (via sirv-cli
) for testing production builds. e.g. in a package.json NPM script task which does a production build and then serves the build assets with sirv. Works great 👍
However, when sirv starts it clears the console buffer so I lose the ability to scroll back to see the build output. I find myself either stopping the build to see the output or running sirv in a separate console… but both these approaches are less than ideal. It would be useful to have a cli flag to disable clearing the console.
Not sure what the best option name would be, maybe something like -n, --no-clear
?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Works great, thank you 💯
Fixed in
console-clear@1.1.1
. New installs will pick this up~Thanks!