Created
March 24, 2018 15:16
-
-
Save jordanhudgens/af33c37af21e18f95feaf5a5f964b461 to your computer and use it in GitHub Desktop.
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'); | |
var browserSync = require('browser-sync').create(); | |
var reload = browserSync.reload; | |
gulp.task('serve', function() { | |
browserSync.init({ | |
server: { | |
baseDir: "./" | |
} | |
}); | |
gulp.watch("*.html").on("change", reload); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment