Skip to content

Commit

Permalink
Readme updated js:watch added
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Negometyanov committed Nov 12, 2015
1 parent 4086dfa commit 3bd58c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ To run javascript linting and code styling analysis:

``gulp ci``

To run javascript linting and code styling analysis watcher:

``gulp js:watch``

To run javascript linting:

``gulp lint``
Expand Down
4 changes: 4 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ gulp.task('lint', function () {
});

gulp.task('lint:watch', function () {
gulp.watch(PROJECT_PATTERNS.lint, ['lint']);
});

gulp.task('js:watch', function () {
gulp.watch(PROJECT_PATTERNS.lint, ['lint', 'jscs']);
});

Expand Down

0 comments on commit 3bd58c7

Please sign in to comment.