0.1.2 • Published 10 years ago
make-livereload v0.1.2
make-livereload
Livereload target for Make
Installation
$ npm install --save-dev make-livereloadExample
include node_modules/make-livereload/index.mkSpecify 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.mkRun the livereload server:
$ make livereloadThen run the reload target with watch (consider using visionmedia's
watch)
$ watch make reloadStop it with
$ make livereload-stopLicense
MIT