Skip to content

Commit

Permalink
Fix browsersync issues with ajax calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jordykommeren committed Nov 30, 2018
1 parent cbfba2e commit 8829a24
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,10 @@ var npmDependencies = {
};

var config = {

browserSyncProxy: 'magento2-boilerplate.test'
};

gulp.task('watch', function() {
browserSync.init({
proxy: {
target: config.browserSyncProxy
},
"rewriteRules": [
{
"match": "." + config.browserSyncProxy,
"replace": ""
}
]
});
};

gulp.task('watch', function() {
browserSync.init({
Expand Down

0 comments on commit 8829a24

Please sign in to comment.