ricardozea
2/11/2014 - 6:59 PM

Browser Sync configuration file

Browser Sync configuration file

/*  https://github.com/shakyShane/browser-sync
    browser-sync --config bs.js
    browser-sync --files * --server

    Options to watch files:
    https://github.com/shakyShane/browser-sync/wiki/options
    files: ["app/css/*.css", "app/**.*.html", "app/js/** /*.js"]
*/

/*ADVANCED CONFIG
=============================*/
module.exports = {
    files: ["projects/**/*.css", "projects/**/*.html", "projects/**/*.php", "projects/**/*.js"],
    //host: "192.168.1.1",
    ghostMode: {
        links: true,
        forms: true,
        scroll: true
    },
    injectChanges: true,
    //startPath: "/projects/",
    proxy: {
        host:"cnglocal",
        port: 80
    },
    //server: {
    //    baseDir: "./"
    //}
};


/*BASIC CONFIG
=============================*/
/*
module.exports = {
    files: ["css/*.css", "*.html"],
    //host: "192.168.1.1",
    ghostMode: {
        links: true,
        forms: true,
        scroll: true
    },
    server: {
        baseDir: "./"
    }
};
*/