Skip to content

Commit 231962a

Browse files
committed
chore: add serve.e2e.dart task for easy benchmark development
1 parent 51e6f33 commit 231962a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gulpfile.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,13 @@ gulp.task('serve/benchmarks_external.dart', pubserve(gulp, gulpPlugins, {
392392
port: 8008
393393
}));
394394

395+
gulp.task('serve.e2e.dart', ['build.js.cjs'], function(neverDone) {
396+
// Note: we are not using build.dart as the dart analyzer takes too long...
397+
watch('modules/**', { ignoreInitial: true }, ['!build/tree.dart', '!build.js.cjs']);
398+
runSequence('build/packages.dart', 'build/pubspec.dart', 'build.dart.material.css', 'serve.dart');
399+
});
400+
401+
395402
// --------------
396403
// doc generation
397404
var Dgeni = require('dgeni');

0 commit comments

Comments
 (0)