npm install tiny-lr-cliCLI part and dashboard of tiny-lr
- Watch files for changes and send a livereload event. node_modules files are automatically ignored.
- Provides a /dashboard route listing connected devices
- Serve / list static files and directories (default: ./) using
serve-index and
serve-static
---
---
$ tiny-lr [options]
Options:
--port Change server port (default: 3000)
--wg Watch glob for changes (default: */.{js,css})
--help Show this help output
--version Show package version
Examples:
$ tiny-lr -p 3000
$ tiny-lr ./site
$ tiny-lr --wg '*/.{html,css,js}'
---
- v0.0.1 - Initial version with file watch, basic dashboard and static file serving / listing