grunt concurrent:同时运行grunt任务 源码
并发 同时运行艰巨的任务 同时运行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
下载地址
用户评论