mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
(chore): Add lint:watch task
This commit is contained in:
parent
cb1f745d39
commit
5947dcf68b
1 changed files with 8 additions and 0 deletions
|
|
@ -63,3 +63,11 @@ gulp.task('lint:tests', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('lint', ['lint:server', 'lint:common']);
|
gulp.task('lint', ['lint:server', 'lint:common']);
|
||||||
|
|
||||||
|
gulp.task('lint:watch', () => {
|
||||||
|
gulp.watch([
|
||||||
|
'./website/src/**/*.js',
|
||||||
|
'./common/script/**/*.js',
|
||||||
|
'./test/**/*.js',
|
||||||
|
], ['lint']);
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue