Last active
June 22, 2017 18:12
-
-
Save cre-o/a8203603085cea966215fbadaa368d6c to your computer and use it in GitHub Desktop.
WordPress css auto reload
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
// Use the following magic: https://www.browsersync.io/ | |
npm install -g browser-sync | |
// Run your backend webserver such as apache or nginx | |
// Let say it runs on port 8080 | |
// Now we can connect on in it with proxy option | |
browser-sync start --proxy "localhost:3000" --files "wp-content/themes/**/*.css" | |
// That's all folks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment