Skip to content

Instantly share code, notes, and snippets.

@mike1e
Created January 26, 2016 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mike1e/1c8a077726d1ed4e8c4d to your computer and use it in GitHub Desktop.
Save mike1e/1c8a077726d1ed4e8c4d to your computer and use it in GitHub Desktop.
michael1e.com | Static site generator tutorial
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