Created
May 12, 2021 13:46
-
-
Save eloyesp/39105e714323307faff7128eeb5a250f to your computer and use it in GitHub Desktop.
Browser Sync setup with shopify.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="__bs_script__">//<![CDATA[ | |
document.write("<script async src='https://localhost:3000/browser-sync/browser-sync-client.js'><\/script>") | |
//]]> | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"files": "/tmp/themeWatchNotify", | |
"logPrefix": "bs", | |
"browser": "brave-browser", | |
"reloadOnRestart": true, | |
"reloadDelay": 1000, | |
"reloadDebounce": 2000, | |
"https": true, | |
"socket": { | |
"domain": 'localhost:3000' | |
}, | |
"injectChanges": false | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
themekit: theme watch --notify /tmp/themeWatchNotify | |
browsersync: browser-sync start --config bs-config.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment