Created
January 26, 2016 06:43
-
-
Save mike1e/1c8a077726d1ed4e8c4d to your computer and use it in GitHub Desktop.
michael1e.com | Static site generator tutorial
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 browserSync = require('browser-sync'); | |
gulp.task('serve', function() { | |
browserSync({ | |
server: { | |
baseDir: 'app' // Change this to your web root dir | |
} | |
}); | |
}); | |
// Default task to be run with `gulp` | |
gulp.task('default', ['serve']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment