//ads:
?>
browsersync doesn't work with XAMPP
PHP Snippet 1:
gulp.task('browser-sync', function() {
browserSync.init({
proxy: "http://localhost:80/dashboard/optimizedphp/app/"
})
;});
PHP Snippet 2:
browserSync( {
proxy: "https://localhost/mysite/",
https: {
key: "W:/xampp/htdocs/mkcert/localhost/localhost.key",
cert: "W:/xampp/htdocs/mkcert/localhost/localhost.crt"
}
});