Neophobe Plebeian Mumpsimus
Miss any of our Open RFC calls?Watch the recordings here! »

make-livereload

0.1.2 • Public • Published

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

Keywords

none

Install

npm i make-livereload

DownloadsWeekly Downloads

0

Version

0.1.2

License

none

Last publish

Collaborators

  • avatar