tiny-lr-cli

0.0.1 • Public • Published

tiny-lr-cli

CLI 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

Dashboard


$ tiny-lr [options] <path>

Options:
  --port             Change server port (default: 3000)
  --wg               Watch glob for changes (default: **/*.{js,css})
  --help             Show this help output
  --version          Show package version

<path> defaults to "./" and is used to serve a static directory

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

Readme

Keywords

none

Package Sidebar

Install

npm i tiny-lr-cli

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • mklabs