grunt concurrent:同时运行grunt任务 源码

上传:qqwish85216 浏览: 36 推荐: 0 文件:ZIP 大小:58.77KB 上传时间:2021-04-21 02:05:43 版权申诉
并发 同时运行艰巨的任务 同时运行Coffee和Sass等缓慢的任务可能会显着缩短构建时间。 如果您需要运行例如nodemon并立即进行watch ,则此任务也很有用。 安装 $ npm install --save-dev grunt-concurrent 用法 require ( 'load-grunt-tasks' ) ( grunt ) ; grunt . initConfig ( { concurrent : { target1 : [ 'coffee' , 'sass' ] , target2 : [ 'jshint' , 'mocha' ] } } ) ; // Tasks of target1 run concurrently, after they all finished, tasks of target2 run concurrently, instea
上传资源
用户评论