我有以下任务:
import {exec} from 'child_process'
gulp.task('start:angular', () => {
const ng = exec('ng serve')
ng.stdout.pipe(process.stdout)
ng.stderr.pipe(process.stderr)
})
我在我的控制台中运行如下:gulp start:angular
这将在578/581模块下每次被卡在69%,但最后一个模块会不时变化。
但是当我手动运行时,即:ng serve
,我也可以运行我的角度应用程序jsut。
我需要gulp任务,没有办法解决这个问题所以请不要使用其他东西,这不是我的意思。
gulp: ^3.9.1
我尝试使用角度6.0.1
和6.0.3
。
提前致谢!