A gulp task for updating your local dependencies installed by jspm-local endpoint. It monitors the project directories of local dependencies for changes. When a change is detected, the local dependencies are updated using gulp-jspm-local.
Combined with gulp-watch, this can be used to recompile the main solution whenever a dependency changes.
Install gulp-overwatch
using npm into your global or local repository.
npm install gulp-overwatch --save-dev
Setup a gulp task overwatch
using this code:
var gulp = require('gulp');
var overwatch = require('gulp-overwatch');
var browserSync = require('browser-sync');
gulp.task('_overwatch', function() {
return overwatch.watchProjects(browserSync.reload);
});
gulp.task('overwatch', ['_overwatch', 'watch']);