@deg-skeletor/plugin-watch
Version:
A Skeletor plugin for running tasks when watched files change
33 lines (31 loc) • 545 B
Markdown
# skeletor-plugin-watch
[](https://travis-ci.org/deg-skeletor/skeletor-plugin-watch)
## Config
```js
{
targets: [
{
name: "css",
paths: "source/css/*.css",
events: ['add', 'change', 'delete'],
tasks: [
{
name: "build",
subTasks: ["css"]
}
]
},
{
name: "js",
paths: "source/js/*.js",
events: ['add', 'change', 'delete'],
tasks: [
{
name: "build",
subTasks: ["js"]
}
]
}
]
}
```