Created
November 25, 2022 08:02
-
-
Save mandrasch/43c2720da7f7672069a10acb27b3beb3 to your computer and use it in GitHub Desktop.
Browsersync JavaScript snippet
This file contains hidden or 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
@env('local') | |
<script type='text/javascript' id="__bs_script__"> | |
//<![CDATA[ | |
document.write("<script async src='https://HOST:3000/browser-sync/browser-sync-client.js'><\/script>".replace("HOST", location.hostname)); | |
//]]> | |
</script> | |
@endenv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment