Created
February 9, 2014 03:26
-
-
Save gweatherson/8893759 to your computer and use it in GitHub Desktop.
gulp browser sync for mamp
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
gulp.task('browser-sync', function() { | |
browserSync.init(['css/*.css', 'js/*.js'], { // files to inject | |
proxy: { | |
host: "localhost", | |
port: 8888 | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, where i create this file? htdocs?
tks.