-
-
Save About2git/33cb80220cc980eba064 to your computer and use it in GitHub Desktop.
CSS Injection and Auto Refresh using BrowserSync
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
| npm install -g browser-sync |
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
| browser-sync start --proxy genesis.dev --files "wp-content/themes/genesis-sample/**/*" |
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
| browser-sync start --proxy genesis.dev --files "wp-content/themes/genesis-sample/*.css, wp-content/themes/genesis-sample/*.php, wp-content/themes/genesis-sample/js/*.js" |
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
| browser-sync start --proxy genesis.dev --files "wp-content/themes/genesis-sample/**/*" --tunnel |
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
| browser-sync start --proxy genesis.dev --files "wp-content/themes/genesis-sample/**/*" --tunnel --no-ghost |
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
| npm update -g browser-sync |
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
| npm list -g browser-sync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment