Closed felixortegam closed 10 years ago
Hello, what´s the difference between this:
browser-sync start --proxy localhost:8888 --no-open
and this config file:
module.exports = { "files": false, "server": false, "proxy": "192.168.1.41:8888", "port": 3000, "ghostMode": { "clicks": true, "scroll": true, "location": false, "forms": { "submit": true, "inputs": true, "toggles": true } }, "logLevel": "info", "open": false, "browser": "default", "xip": false, "hostnameSuffix": false, "notify": true, "scrollProportionally": true, "scrollThrottle": 0, "reloadDelay": 0, "injectChanges": true, "startPath": null, "minify": true, "logConnections": false, "logFileChanges": true, "host": null, "codeSync": true, "timestamps": true, "debugInfo": true }
With the command line the relatives urls in wordpress works fine (with reload, css inject, etc...), but with the bs-config.js the urls not works, only show html, not css and not js.
P.D.: I´m using latest version of Browser-Sync
Thanks!
Sorry, i was using fixed ip in bs-config.js and "localhost" word in command line. With "localhost" word it´s working fine.
Hello, what´s the difference between this:
browser-sync start --proxy localhost:8888 --no-open
and this config file:
module.exports = { "files": false, "server": false, "proxy": "192.168.1.41:8888", "port": 3000, "ghostMode": { "clicks": true, "scroll": true, "location": false, "forms": { "submit": true, "inputs": true, "toggles": true } }, "logLevel": "info", "open": false, "browser": "default", "xip": false, "hostnameSuffix": false, "notify": true, "scrollProportionally": true, "scrollThrottle": 0, "reloadDelay": 0, "injectChanges": true, "startPath": null, "minify": true, "logConnections": false, "logFileChanges": true, "host": null, "codeSync": true, "timestamps": true, "debugInfo": true }
With the command line the relatives urls in wordpress works fine (with reload, css inject, etc...), but with the bs-config.js the urls not works, only show html, not css and not js.
P.D.: I´m using latest version of Browser-Sync
Thanks!