Created
January 15, 2021 03:16
-
-
Save arsaccol/5f3911059385a3523255e99b85d31bf2 to your computer and use it in GitHub Desktop.
Start a browser-sync server where you can develop front-end shit and have it reload automatically in the browser. Use `npm install -g browser-sync` to get it globally installed I guess.
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
#!/bin/bash | |
host='localhost' | |
port=8080 | |
SOCKET_HOST=$host SOCKET_PORT=$port browser-sync start --server --files "./" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment