Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chemzqm/tiny-watch

start livereload server and file watch
https://github.com/chemzqm/tiny-watch

Last synced: about 1 month ago
JSON representation

start livereload server and file watch

Awesome Lists containing this project

README

        

#tiny-watch

Start livereload server and watch for specified file changes.

* growl notification
* timestamp
* glob files

## Install

npm install tiny-watch

## Usage

```
Usage: tiny-watch *.js *.html *.css *.php

Options:

-h, --help output usage information
-V, --version output the version number
```

## Script

you need to add livereload script to html by you own.

``` html

document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':35729/livereload.js?snipver=1"><\/script>')

```

## Licence

MIT