Config file always return
<script id="__bs_script__">//<![CDATA[
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.js?v=2.18.8'><\/script>".replace(
"HOST", location.hostname));
//]]></script>
but when i start with browser-sync start --proxy "localhost/ecofarmmarketplaceV2" --files "*/" its normal
n/a
browser-sync start
module.exports = {
port: 8052,
open: false,
server: {
middleware: proxy('/api', {
target: 'http://localhost:ecofarmmarketplaceV2/'
})
}
};
already solve it with
module.exports = {
"ui": {
"port": 3001,
"weinre": {
"port": 8080
}
},
"files": false,
"watchEvents": [
"change"
],
"proxy": {
target: "localhost/ecofarmmarketplaceV2"
},
"port": 8052
};
and browser-sync start --config bs-config.js
Most helpful comment
already solve it with
and
browser-sync start --config bs-config.js