Created
March 9, 2014 09:14
-
-
Save tonifisler/9444947 to your computer and use it in GitHub Desktop.
Gulp 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
var browserSync = require('browser-sync'); | |
gulp.task('browser-sync', function() { | |
browserSync.init(['style.css', '*.php'], { | |
proxy: { | |
host: 'site.dev', | |
port: '80' | |
} | |
}); | |
}); |
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
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName site.dev | |
DocumentRoot "/Users/me/Sites/wp-site" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment