Gruntfile.snippet.js 638 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. *
  3. * Install:
  4. * npm install grunt grunt-browser-sync
  5. *
  6. * Run:
  7. * grunt
  8. *
  9. * This example will output a snippet into the console,
  10. * Paste it into the body of your website.
  11. */
  12. module.exports = function (grunt) {
  13. grunt.initConfig({
  14. // BrowserSync Task
  15. browserSync: {
  16. default_options: {
  17. bsFiles: {
  18. src: [
  19. "css/*.css",
  20. "*.html"
  21. ]
  22. }
  23. }
  24. }
  25. });
  26. grunt.loadNpmTasks("grunt-browser-sync");
  27. grunt.registerTask("default", ["browserSync"]);
  28. };