S
S
SadikMaxLK2018-05-23 17:54:16
ubuntu
SadikMaxLK, 2018-05-23 17:54:16

BrowserSync PHP link XAMPP?

How to link XAMPP with BrowserSync on ubuntu 18.04?

var syntax        = 'sass'; // Syntax: sass or scss;

var gulp          	   = require('gulp'),
    gutil          = require('gulp-util' ),
    sass           = require('gulp-sass'),
    browserSync    = require('browser-sync'),
    concat         = require('gulp-concat'),
    uglify         = require('gulp-uglify'),
    cleancss       = require('gulp-clean-css'),
    rename         = require('gulp-rename'),
    autoprefixer   = require('gulp-autoprefixer'),
    notify         = require("gulp-notify"),
    rsync          = require('gulp-rsync');

gulp.task('browser-sync', function() {
  browserSync({
    proxy: "",
    notify: true,
    open: false,
    // online: false, // Work Offline Without Internet Connection
    tunnel: true, tunnel: "projectname", // Demonstration page: http://projectname.localtunnel.me
  })
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question