Created
January 17, 2015 19:42
-
-
Save gilsondev/d4d7e50d029bd59d1036 to your computer and use it in GitHub Desktop.
Gulpfile basics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
connect = require('gulp-connect'); | |
gulp.task('watch', function() { | |
gulp.watch('js/**/*.js', []); | |
}); | |
gulp.task('webserver', function() { | |
connect.server({ | |
port: 8000 | |
}); | |
}); | |
gulp.task('default', ['webserver', 'watch']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment