Skip to content

Commit

Permalink
Merge pull request #2 from matthewselby/patch-2
Browse files Browse the repository at this point in the history
Make BrowserSync use HTTP by default
  • Loading branch information
seothemes committed Jan 11, 2018
2 parents dbb1cfb + 015dc68 commit a02fa4d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions gulpfile.js
Expand Up @@ -339,27 +339,19 @@ gulp.task('publish', function () {
* Process tasks and reload browsers on file changes.
*
* https://www.npmjs.com/package/browser-sync
*
* If you are not using a self-signed certificate, use the below config:
*
* browsersync( {
* proxy: 'genesis-starter.dev',
* notify: false,
* open: false,
* } );
*/
gulp.task('watch', function () {

// HTTPS (optional).
browsersync({
proxy: 'https://genesis-starter.dev',
proxy: 'http://genesis-starter.dev',
port: 8000,
notify: false,
open: false,
https: {
"key": "/Users/seothemes/.valet/Certificates/genesis-starter.dev.key",
"cert": "/Users/seothemes/.valet/Certificates/genesis-starter.dev.crt"
}
// https: {
// "key": "/Users/seothemes/.valet/Certificates/genesis-starter.dev.key",
// "cert": "/Users/seothemes/.valet/Certificates/genesis-starter.dev.crt"
// }
});

// Run tasks when files change.
Expand Down

0 comments on commit a02fa4d

Please sign in to comment.