Questions tagged [gulp-browser-sync]
148 questions
0
votes
1 answer
VVV and Gulp BrowserSync outputs a useless public IP
I am running VVV, (just installed) for theme development using gulp altogether with Gulp-BrowserSync (and other npm packages).
In VVV I've created a new WP install called organic with organic.du.dev as URL. It is working fine.
In my gulpfile.js I…

Kevin Mamaqi
- 355
- 4
- 17
0
votes
2 answers
browserSync.reload doesn't execute using Gulp task
I am struggling with a problem on Gulp task for plenty hours. I couldn't figure out how to make it work.
Let me show first my project structure:
project/
|
|-- Gulp/
| |-- Base/
| |-- start-server.js
| |-- sass.js
| ...
| …

xeho91
- 29
- 2
- 10
0
votes
1 answer
how to use browsersync proxy with spring boot?
when I use browsersync proxy with spring boot ? Although the page can autorefresh, but the static resources like css, js, html cannot be updated immediately.
So, whether is any idea to solve it ?
Thank you !
ps: i use IntelliJ IDEA

wenkang lin
- 119
- 1
- 1
- 10
0
votes
1 answer
Wrong reload order when using Gulp and browserSync
So I'm trying to compile pug (jade), javascript and sass files with Gulp V4, and using browserSync to reload the browser when any of these files change. There are a lot of guides out there, but no matter which way I write the code, it just doesn't…

Aaron
- 83
- 1
- 1
- 5
0
votes
1 answer
Browserify - JsSip
I have a new project where I'm using browserify to convert node modules into an sdk that can run inside the browser.
I'm requiring a number of other npm packages like:
var log4js = require('log4js');
That run fine and give me no problems in the…

sauce
- 592
- 4
- 9
- 25
0
votes
1 answer
How to use browserSync with gulp in angular2 app with angular cli?
I'm developing an Angular 2 app using angular cli. I'm also using gulp as a task runner in the project. I want to use BrowserSync with gulp instead of the default ember live reload plugin that angular cli provides with. I have tried using proxy…

Gaurav Prabhu
- 102
- 1
- 9
0
votes
1 answer
Use Gulp on hosted Wordpress site
Im a bit weak and my question is serious for me. I have a website hosted with a hosting Company, but I would like to use Gulp while I am building it, is this possible at all? I want to build it there, because multiple people are working on it from…
0
votes
1 answer
Setting up Gulp browserSync correctly
I have trouble setting up Gulp correctly with the current folder structure as shown above.
Here's my gulpfile.js:
var gulp = require('gulp');
var sass = require('gulp-sass')
var browserSync = require('browser-sync').create()
gulp.task('sass',…

Alejandro
- 2,266
- 6
- 35
- 63
0
votes
1 answer
How do I kill browserSync before creating it?
Before executing "var bs = browserSync.create();", I would like to kill browserSync if a browserSync process is running.
Is it correct that exit() method needs a browsersync instance? (
https://www.browsersync.io/docs/api#api-exit)
What is the…

Mayu
- 25
- 5
0
votes
1 answer
Reload BrowserSync Only Once When Using Jekyll in Gulp on Shared File Update
I have a Jekyll site which is part of a Gulp project, using BrowserSync to preview the site as it is built. One of my watch statements looks for changes to the html in order to auto-refresh the site.
gulp.watch('docs/_site/**/*.html').on('change',…

Nicholas Pappas
- 10,439
- 12
- 54
- 87
0
votes
2 answers
Gulp browserSync Firefox Ubuntu 16.04
How do we define the browser for gulp browserSync. I am on ubuntu 16.04, I have chrome, firefox and firefox developer edition installed on my machine and I want gulp browserSync to open firefox developer edition. How can I do that? Here is my…

Moussa
- 4,066
- 7
- 32
- 49
0
votes
0 answers
Enabling Browsersync UI on nginx
I use a Vagrant VM to reproduce my production server for local web development.
Host machine is running Windows 10 and guest runs Nginx 1.10 on Ubuntu 14.04 with VirtualBox as a provider.
I want to serve files during development using Gulp and…

Richard the Lionheart
- 350
- 3
- 13
0
votes
1 answer
Browsersync + Gulp.js + XMLHttpRequest cannot load
I have the most simple job in gulp, basically copy-pasted from Browsersync website. However the page doesn't refresh upon saving and following error appears in chrome console:
(The count goes up all the time...) I couldn't find anywhere anything…

TheFullResolution
- 1,251
- 1
- 15
- 26