• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

browsersync doesn't work with XAMPP

phpwindowsgulpxampp


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"
    }
});

Related Snippets

Display the WooCommerce product price inside a custom function

file_get_contents() without "Http" to access external URL [closed]

cakephp save drag and drop list order to database

Laravel - Implicit route model binding with soft deleted data

PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: no such host known

PHP sort array of objects by two properties

Hide email address with stars (*)

Array to string conversion

Sum array values

How to give apache permission to write to home directory?

Warning file_get_contents () failed to open stream: HTTP request failed! HTTP/1.0 402 Payment Required

Change the alert text on add to cart action without selected variation in Woocommerce

Exception thrown during the rendering of a template("Parameter "id" for route "url" must match "[^/]++" ("" given) to generate a corresponding URL.")

Show date difference as "20" instead of "20 years ago"

Convert date and time to Jalali in Laravel

About Contact Privacy policy Terms and conditions