Last active
February 26, 2016 12:41
-
-
Save brunokrebs/7730fd2a6ada3fd3099a to your computer and use it in GitHub Desktop.
This file contains 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'); | |
var webserver = require('gulp-webserver'); | |
// concat-js definition ... | |
// uglify definition ... | |
gulp.task('watch', function() { | |
gulp.watch(['./src/**/*'], ['uglify']); | |
}); | |
gulp.task('webserver', function() { | |
gulp.src('./') | |
.pipe(webserver({ port: 8000 })); | |
}); | |
gulp.task('develop', ['uglify', 'watch', 'webserver']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment