aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js')
-rw-r--r--keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js b/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
index 338b0c6ba..23f19d18a 100644
--- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
+++ b/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
@@ -1,7 +1,7 @@
let gulp = require('gulp');
let run = require('gulp-run-command').default;
-
+
gulp.task('clean', run('rm -rf ../../../../.build'));
gulp.task('build', ['clean'], run('make -C ../../../../ ergodox_ez:hacker_dvorak', {
@@ -9,5 +9,11 @@ gulp.task('build', ['clean'], run('make -C ../../../../ ergodox_ez:hacker_dvorak
}));
gulp.task('watch', ['build'], () => {
- gulp.watch(['keymap.c', 'config.h', 'rules.mk'], ['build']);
+ gulp.watch([
+ 'keymap.c',
+ 'config.h',
+ 'rules.mk',
+ ], ['build']);
});
+
+gulp.task('default', ['watch']);