Skip to content

Instantly share code, notes, and snippets.

@selahssea-zz
Last active August 29, 2015 14:12
Show Gist options
  • Save selahssea-zz/e5eda53072c5afdfd779 to your computer and use it in GitHub Desktop.
Save selahssea-zz/e5eda53072c5afdfd779 to your computer and use it in GitHub Desktop.
Gulp + Browser-sync
var gulp = require("gulp");
var browserSync = require("browser-sync");
gulp.task('browser-sync', function(){
browserSync.init(["www/css/*.css", "www/js/*.js", "www/*.html"], {
server: {
baseDir: "www"
},
logConnections: true,
ghostMode: false,
notify: false
});
});
gulp.task("default", ["browser-sync"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment