diff --git a/gulpfile.coffee b/gulpfile.coffee index 72d987d0..3aad5a5a 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -26,9 +26,5 @@ gulp.task 'lint', -> })) .pipe(coffeelint.reporter()) -gulp.task 'build', [ - 'coffee' -] - -gulp.task 'watch', [ 'build' ], -> - gulp.watch([ OPTIONS.files.coffee ], [ 'build' ]) +gulp.task 'watch', [ 'coffee' ], -> + gulp.watch([ OPTIONS.files.coffee ], [ 'coffee' ]) diff --git a/package.json b/package.json index 158e793e..0b5ca32a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "resin": "./bin/resin" }, "scripts": { - "build": "gulp build && npm run doc", + "build": "gulp coffee && npm run doc", "ci": "npm run build && catch-uncommitted", "doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown", "watch": "gulp watch",