标签:
依赖于 GruntJs ~0.4.0
监控 JS 文件改变来运行预定义的Tasks
Demo:
watch: {
scripts: {
files: [‘src/**/*.js‘],
tasks: [‘jshint‘],
options: {
spawn: false
}
}
},
引用: https://www.npmjs.com/package/grunt-contrib-watch
grunt-contrib-watch 监控 JS 文件改变来运行预定义的Tasks
标签:
原文地址:http://www.cnblogs.com/lucker/p/4228974.html