Add Watch Task

Issue #2 resolved
Remco Janssen created an issue

Add a watch task for the libs folder.

Comments (6)

  1. vaporstack
        watch = require('gulp-watch');
    //------
    gulp.task('watch', ['build'], function () {
        gulp.watch('lib/*.js', ['concat']);
    });
    
  2. Remco Janssen reporter

    The watch task is in the core of Gulp, so gulp-watch wasn't necessary and added the change to the main Khanyu branch.

    The watch task is now in the default task, so now when you do gulp in Terminal it stays watching for file changes. Change any of the files in /lib and it will deploy to the ScriptUI folder.

    The build task is manual for now and this will change when we have a proper build workflow in place.

  3. Log in to comment