12345678910111213141516171819202122232425262728293031323334353637 |
- /**
- *
- * Install:
- * npm install grunt grunt-browser-sync
- *
- * Run:
- * grunt
- *
- * This example will serve HTML files from the `app` directory
- *
- */
- module.exports = function (grunt) {
- grunt.initConfig({
- // BrowserSync Task
- browserSync: {
- default_options: {
- bsFiles: {
- src: [
- "css/*.css",
- "*.html"
- ]
- },
- options: {
- baseDir: "app"
- }
- }
- }
- });
- grunt.loadNpmTasks("grunt-browser-sync");
- grunt.registerTask("default", ["browserSync"]);
- };
|