dora-plugin-livereload
dora plugin for livereload
Last updated 9 years ago by pigcan .
MIT · Repository · Bugs · Original npm
$ cnpm 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.5.3                                ...           latest (9 years ago)

1 Versions

  • 0.5.3                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org