1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- *
- * Install:
- * npm install grunt grunt-browser-sync
- *
- * Run:
- * grunt
- *
- * This example will wrap your existing vhost in a proxy URL
- * Use the proxy URL to view your site.
- *
- */
- module.exports = function (grunt) {
- grunt.initConfig({
- // BrowserSync Task
- browserSync: {
- default_options: {
- bsFiles: {
- src: [
- "css/*.css",
- "*.html"
- ]
- },
- options: {
- proxy: "localphpsite.dev"
- }
- }
- }
- });
- grunt.loadNpmTasks("grunt-browser-sync");
- grunt.registerTask("default", ["browserSync"]);
- };
|