Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soda-x committed Dec 31, 2015
1 parent da62e92 commit c94bbe1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

---

# 0.2.0

- refactor: use ex. ?{enableJs:false} to handle the logic

## 0.1.2

- fix: timeout on travis-ci
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ dora plugin for livereload。

```bash
$ npm i dora dora-plugin-livereload -SD
$ ./node_modules/.bin/dora --plugins atool-build,livereload?ignore='.map$'
$ ./node_modules/.bin/dora --plugins atool-build,livereload?{enableJs:true,enableCss:true,enableImg:true,enableAll:false}
```

## Param

`ignore` : ignore files to livereload , just pass through the pattern like `.map|.jsx?$`
`always ignore .map files`

default:

```javascript
{
enableJs:true,
enableCss:true,
enableImg:true,
enableAll:false
}
``
## Test

```bash
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dora-plugin-livereload",
"version": "0.1.2",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/dora-js/dora-plugin-livereload"
Expand Down

0 comments on commit c94bbe1

Please sign in to comment.