0.6.0 • Published 9 years ago

dora-plugin-livereload v0.6.0

Weekly downloads
50
License
MIT
Repository
github
Last release
9 years ago

dora-plugin-livereload

NPM version Build Status Coverage Status NPM downloads

dora plugin for livereload。


Usage

$ npm i dora dora-plugin-webpack dora-plugin-livereload -SD
$ ./node_modules/.bin/dora --plugins 'webpack,livereload?enableJs=true&enableCss=true&enableImg=true&port=35429&enableAll:false'

Param

always ignore .map files

default:

{
  compiler: false, // 开放给 atool-doc 使用,一般开发者请忽略
  injectHost: localIP, // 指定注入资源文件的 host 名称,诸如 localhost ip 地址 等
  enableJs:true, // 对 js 开启 livereload
  enableCss:true, // 对 css 开启 livereload
  enableImg:true, // 对 image 开启 livereload
  enableAll:false, // 对所有文件开启 livereload
  port: 35729 // livereload 端口号
}

Test

$ npm test

LICENSE

MIT

0.6.0

9 years ago

0.5.3

9 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago