/** * * 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"]); };