rename node to vnode

This commit is contained in:
Leo Horie 2016-07-29 22:04:04 -04:00
parent 09a0464a01
commit 7c736b511a
20 changed files with 60 additions and 56 deletions

View file

@ -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()
})
}
}