Skip to content

Instantly share code, notes, and snippets.

@AlanWarren
Created October 17, 2016 17:14
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 AlanWarren/1bd54771dbafc698f15899953b8f03f8 to your computer and use it in GitHub Desktop.
Save AlanWarren/1bd54771dbafc698f15899953b8f03f8 to your computer and use it in GitHub Desktop.
// This shows a full config file!
module.exports = function (grunt) {
grunt.initConfig({
browserSync: {
dev: {
bsFiles: {
src : [
'css/*.css',
'*.html'
]
},
options: {
server: './'
}
}
}
});
// load npm tasks
grunt.loadNpmTasks('grunt-browser-sync');
// define default task
grunt.registerTask('default', ['browserSync']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment