rename node to vnode
This commit is contained in:
parent
09a0464a01
commit
7c736b511a
20 changed files with 60 additions and 56 deletions
|
|
@ -86,5 +86,9 @@ module.exports = function(input, output, options) {
|
|||
}
|
||||
run()
|
||||
|
||||
if (options && options.watch) fs.watch(process.cwd(), {recursive: true}, run)
|
||||
if (options && options.watch) {
|
||||
fs.watch(process.cwd(), {recursive: true}, function(type, file) {
|
||||
if (path.resolve(output) !== path.resolve(file)) run()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue