old_contents: var gulp = require('gulp');
  var jshint = require('gulp-jshint');
  
  gulp.task('lint', function() {
    return gulp.src('./js/*.js')
      .pipe(jshint())
      .pipe(jshint.reporter('default'));
  });
  
  gulp.task('default', ['lint'], function() {
  });
  
new_contents: var gulp = require('gulp');
  var jshint = require('gulp-jshint');
  
  gulp.task('lint', function() {
    return gulp.src('./js/*.js')
      .pipe(jshint())
      .pipe(jshint.reporter('default'));
  });
  
  gulp.task('default', function() {
    gulp.watch('./js/*.js', ['lint']);
  });
  
subject: Add watch on lint