diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js index b41fa640399..2f43d0e73ed 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,26 +10,27 @@ require('events').EventEmitter.defaultMaxListeners = 100; const gulp = require('gulp'); const util = require('./build/lib/util'); +const task = require('./build/lib/task'); const path = require('path'); const compilation = require('./build/lib/compilation'); const { monacoTypecheckTask/* , monacoTypecheckWatchTask */ } = require('./build/gulpfile.editor'); const { compileExtensionsTask, watchExtensionsTask } = require('./build/gulpfile.extensions'); // Fast compile for development time -const compileClientTask = util.task.series(util.rimraf('out'), compilation.compileTask('src', 'out', false)); +const compileClientTask = task.series(util.rimraf('out'), compilation.compileTask('src', 'out', false)); compileClientTask.displayName = 'compile-client'; gulp.task(compileClientTask.displayName, compileClientTask); -const watchClientTask = util.task.series(util.rimraf('out'), compilation.watchTask('out', false)); +const watchClientTask = task.series(util.rimraf('out'), compilation.watchTask('out', false)); watchClientTask.displayName = 'watch-client'; gulp.task(watchClientTask.displayName, watchClientTask); // All -const compileTask = util.task.parallel(monacoTypecheckTask, compileClientTask, compileExtensionsTask); +const compileTask = task.parallel(monacoTypecheckTask, compileClientTask, compileExtensionsTask); compileTask.displayName = 'compile'; gulp.task(compileTask.displayName, compileTask); -gulp.task('watch', util.task.parallel(/* monacoTypecheckWatchTask, */ watchClientTask, watchExtensionsTask)); +gulp.task('watch', task.parallel(/* monacoTypecheckWatchTask, */ watchClientTask, watchExtensionsTask)); // Default gulp.task('default', compileTask); |