0.1.2 • Published 9 years ago

make-livereload v0.1.2

Weekly downloads
5
License
-
Repository
github
Last release
9 years ago

make-livereload

Livereload target for Make

Installation

$ npm install --save-dev make-livereload

Example

include node_modules/make-livereload/index.mk

Specify the source, defaulting to *.js *.css in the current directory.

LIVERELOAD_DIR = ./
LIVERELOAD_SRC = $(shell find $(LIVERELOAD_DIR) -name '*.css' -o -name '*.js')
include node_modules/make-livereload/index.mk

Run the livereload server:

$ make livereload

Then run the reload target with watch (consider using visionmedia's watch)

$ watch make reload

Stop it with

$ make livereload-stop

License

MIT

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

10 years ago