From eafeb7d3da3138d0c1d2652c7782956f2559c3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Tue, 23 Nov 2021 13:31:53 +0100 Subject: [PATCH] build: :construction_worker: give names to the api proposal tasks cc @jrieken --- build/gulpfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/gulpfile.js b/build/gulpfile.js index dc043d7b5a7..d8c87ded928 100644 --- a/build/gulpfile.js +++ b/build/gulpfile.js @@ -16,10 +16,12 @@ const { monacoTypecheckTask/* , monacoTypecheckWatchTask */ } = require('./gulpf const { compileExtensionsTask, watchExtensionsTask, compileExtensionMediaTask } = require('./gulpfile.extensions'); // Fast compile for development time -const compileClientTask = task.define('compile-client', task.series(util.rimraf('out'), util.buildWebNodePaths('out'), compilation.compileApiProposalNames(), compilation.compileTask('src', 'out', false))); +const compileApiProposalNames = task.define('compile-api-proposal-names', compilation.compileApiProposalNames()); +const compileClientTask = task.define('compile-client', task.series(util.rimraf('out'), util.buildWebNodePaths('out'), compileApiProposalNames, compilation.compileTask('src', 'out', false))); gulp.task(compileClientTask); -const watchClientTask = task.define('watch-client', task.series(util.rimraf('out'), util.buildWebNodePaths('out'), task.parallel(compilation.watchTask('out', false), compilation.watchApiProposalNames()))); +const watchApiProposalNames = task.define('watch-api-proposal-names', compilation.watchApiProposalNames()); +const watchClientTask = task.define('watch-client', task.series(util.rimraf('out'), util.buildWebNodePaths('out'), task.parallel(compilation.watchTask('out', false), watchApiProposalNames))); gulp.task(watchClientTask); // All