Commit cfa72a6a authored by Felix Freiberger's avatar Felix Freiberger
Browse files

Allow watch task to start when there are build failures.

parent 7dea035a
Pipeline #7006 passed with stages
in 1 minute and 26 seconds
......@@ -2,7 +2,7 @@
This is a library to describe colored Petri nets and CPN++, an enhanced version of colored Petri nets for modeling programs.
© Felix Freiberger, 2018, Saarland University
© Felix Freiberger, 2018-2019, Saarland University
## A Word of Caution
......
......@@ -64,8 +64,8 @@
var defaultTask = gulp.series(lintAndBuild, test);
exports.default = defaultTask;
var watch = gulp.series(defaultTask, function() {
gulp.watch(['src/**/*', 'tests/**/*', 'test.js', '.eslintrc.json'], { }, defaultTask);
});
var watch = function() {
gulp.watch(['src/**/*', 'tests/**/*', 'test.js', '.eslintrc.json'], { ignoreInitial: false }, defaultTask);
};
exports.watch = watch;
})();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment