dora-plugin-livereload
dora plugin for livereload
Last updated 10 years ago by pigcan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install dora-plugin-livereload 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.6.0                                ...           latest (10 years ago)

14 Versions

  • 0.6.0                                ...           10 years ago
  • 0.5.3                                ...           10 years ago
  • 0.5.2                                ...           10 years ago
  • 0.5.1                                ...           10 years ago
  • 0.5.0                                ...           10 years ago
  • 0.4.0                                ...           11 years ago
  • 0.3.1                                ...           11 years ago
  • 0.3.0                                ...           11 years ago
  • 0.2.2                                ...           11 years ago
  • 0.2.1                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 46
Today 0
This Week 0
This Month 19
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (18)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE