From 231962aaf7fe12dfc6e798652b88a3b16a3c8c0c Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Wed, 22 Jul 2015 09:42:05 -0700 Subject: [PATCH] chore: add serve.e2e.dart task for easy benchmark development --- gulpfile.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index dde8fa90c0..537a94ac24 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -392,6 +392,13 @@ gulp.task('serve/benchmarks_external.dart', pubserve(gulp, gulpPlugins, { port: 8008 })); +gulp.task('serve.e2e.dart', ['build.js.cjs'], function(neverDone) { + // Note: we are not using build.dart as the dart analyzer takes too long... + watch('modules/**', { ignoreInitial: true }, ['!build/tree.dart', '!build.js.cjs']); + runSequence('build/packages.dart', 'build/pubspec.dart', 'build.dart.material.css', 'serve.dart'); +}); + + // -------------- // doc generation var Dgeni = require('dgeni');