rodrigobertin
5/31/2015 - 6:30 PM

Browser sync configuracion preferida

Browser sync configuracion preferida

var server='local.dev/sitios-london/pax-sistem';
//command: browser-sync start --config="bs.js"
/*
 |--------------------------------------------------------------------------
 | Browser-sync config file
 |--------------------------------------------------------------------------
 */
module.exports = {
    "ui": {
        "port": 3001,
        "weinre": {
            "port": 8080
        }
    },
    "files":['./**/*.*','./**/*.min.js'],
    "server": false,
    "proxy": server,
    "port": 3000,
    "ghostMode": {
        "clicks": true,
        "scroll": true,
        "forms": {
            "submit": false,
            "inputs": true,
            "toggles": true
        }
    },
    "logLevel": "info",
    "logPrefix": "-->",
    "logConnections": false,
    "logFileChanges": true,
    "logSnippet": true,
    "open": "external",
    "browser": "opera",
    "xip": false,
    "hostnameSuffix": false,
    "reloadOnRestart": true,
    "notify": true,
    "scrollProportionally": true,
    "scrollThrottle": 0,
    "reloadDelay": 0,
    "injectChanges": true,
    "startPath": null,
    "minify": true,
    "host": null,
    "codeSync": true,
    "timestamps": true,
    "clientEvents": [
        "scroll",
        "input:text",
        "input:toggles",
        "form:submit",
        "form:reset",
        "click"
    ],
    "socket": {
        "path": "/browser-sync/socket.io",
        "clientPath": "/browser-sync",
        "namespace": "/browser-sync",
        "clients": {
            "heartbeatTimeout": 5000
        }
    }
};