diff --git a/build/dat-gui.html b/build/dat-gui.html index 1ce73c3..9599958 100755 --- a/build/dat-gui.html +++ b/build/dat-gui.html @@ -1,13 +1,14 @@ - + - + diff --git a/build/dat-gui.js b/build/dat-gui.js index 9782cee..5611231 100755 --- a/build/dat-gui.js +++ b/build/dat-gui.js @@ -1,13 +1,14 @@ -document.write(['', +document.write(['', '', '', -'', +'', '', '', '', diff --git a/gulpfile.js b/gulpfile.js index 8ef2454..ef1f713 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,7 +4,7 @@ Main Gulp tasks ----------------- * default - dev - + * build - create a vulcanized compiled version after linting and formatting * dev - launch server, watch for code changes, lint, format * docs - compile the docs and update gh-pages @@ -59,7 +59,7 @@ gulp.task( 'test', function() { } ); -gulp.task( 'watch', [ 'build', 'test' ], function() { +gulp.task( 'watch', [ 'lint', 'build', 'test' ], function() { // watches and builds all tasks gulp.watch( paths.build, [ 'build' ] ); @@ -75,7 +75,10 @@ gulp.task( 'watch', [ 'build', 'test' ], function() { base: './' } ) .pipe( $.esformatter( formattingOptions ) ) - .pipe( gulp.dest( './' ) ); + .pipe( gulp.dest( './' ) ) + .pipe( $.jshint( '.jshintrc' ) ) + .pipe( $.jshint.reporter( 'jshint-stylish' ) ) + .pipe( $.jshint.reporter( 'fail' ) ); } );