Questions tagged [gulp-browser-sync]
148 questions
0
votes
1 answer
Problems with GULP Watch task. After compiling index.html from PUG, Gulp watch task don't refresh browser
i need help with my gulp tasks.
After compiling index.html from PUG, Gulp watch task don't refresh browser.
This is my watch.js
var gulp = require('gulp'),
watch = require('gulp-watch'),
browserSync =…

Sergey S.
- 157
- 3
- 17
0
votes
1 answer
Task 'sass' is not in your Gulpfile - ERROR
Following is the code I am facing this error please help me solve this, i would be really graced to get clear answer ___
Everything runs smooth but except if I save the file, following error occurs
ERROR : Task 'sass' is not in your gulpfile
//…

Ishan Manandhar
- 11
- 2
0
votes
1 answer
Unable to access Browser-sync External IP on Ubuntu 16.04
I'm trying to follow along with a wordpress guide on Lynda.com that instructs me to use npm and Browser-Sync. Everything was working properly when I was working on a windows machine but I have recently setup a linux server (Ubuntu 16.04) and cannot…

Brian Benninger
- 1
- 2
0
votes
1 answer
Gulp mobile connection
I had created mobile WiFi hotspot from my tablet and i had connected my laptop and mobile phone to it.
I'm trying to run Browsersync on those mobiles. My external ip adress was gathered from Browsersync -> Overview External. I pasted that IP adress…
user6951244
0
votes
1 answer
Error You tried to start Browsersync twice
I'm trying to set up browsersync within my gulp file but keep getting this error "[error] You tried to start Browsersync twice!".
My gulpfile.js file looks like this.
var gulp = require('gulp');
var sass = require('gulp-sass'); //…

CIB
- 535
- 1
- 12
- 35
0
votes
1 answer
Install Browsersync Gulp
When I tried to install Browsersync by this way:
npm -i browser-sync --save-dev
I get some errors:
D:\projekt>npm install --save-dev browser-sync
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
projekt@1.0.0 D:\projekt
`--…

Taisiia Boiko
- 11
- 1
- 4
0
votes
1 answer
Browser-Sync not injecting CSS into Browser
I used this gulp file until recently. Now everything still works, the CSS still gets compiled except injecting the compiled CSS back into the browser.
Thanks for your time!
var gulp = require('gulp');
var gutil = require('gulp-util');
var bs =…

Mike
- 5,416
- 4
- 40
- 73
0
votes
1 answer
Why is my gulpfile causing only a sporadic css inject?
The following gulp tasks work for some css files, but not for others.
My global styles are injected on save as desired, but my roadmap.css file is not (needs a hard refresh).
How could I debug/solve this?
var settings = {
...
sass_files:…

MattV
- 1,353
- 18
- 42
0
votes
2 answers
the broswer cannot reload when files updates using gulp and browser-sync
I have total followed the instructions of https://browsersync.io/docs/gulp
my gulpfile.js code:
let gulp = require('gulp');
let sass = require('gulp-sass');
let browserSync = require('browser-sync').create();
let reload =…

hanzichi
- 609
- 2
- 12
- 22
0
votes
0 answers
browser not refreshed on gulp + browser sync + vim stack
I'm using gulp + browser sync + vim stack on CentOS 6.5 Server.
In my gulpfile.js watching html difference.
When I changed index.html file and send vim command [wq] browser auto refreshed perfectly.
but When I send command just [w], file saved but…

Shaffron
- 97
- 1
- 3
- 11
0
votes
2 answers
How to fix browser-sync & socket.io conflict?
I seem to have a conflict of the socket used in browser-sync and the one I want to use with socket.io. I use browser-sync via a gulp task (that comes with Aurelia CLI default project). What happens is that only the browser-sync socket seems to work…

ghiscoding
- 12,308
- 6
- 69
- 112
0
votes
1 answer
How to replace .html with forward slash in BrowserSync?
I am developing website using BrowserSync. However, in the production version, I will be replacing .html with forward slash via .htaccess . Is it possible to achive the same result using BrowserSync?

uksz
- 18,239
- 30
- 94
- 161
0
votes
2 answers
gulp, browsersync, sass, autoprefixer isnt working
i am trying to get my gulp to work correct with Autoprefixer, sass and browser-sync but i have some issues.
I set up the Gulpfile.js like this:
var gulp = require('gulp'),
plumber = require('gulp-plumber'),
rename = require('gulp-rename');
var…

SanderS
- 47
- 10
0
votes
0 answers
Gulp / BrowserSync make browser reload and stay on the same page, for wordpress theme developement
Can't make this script work, and also need advice:
How to make browser reload when i change any of the files after initial load?
Is there any way, when browser reload to stay on the same page (say page http://wpsass.dev/sass/mixin) and not reload…

Igor Atanasov
- 1
- 1
0
votes
1 answer
browser sync reloading injecting works, but reloads after
it seems there is something im missing - Im just trying to get the css injection working on this project.
The server proxy works
The file watcher too
The injection works,
but the page always reloads half a second after...
Im on Mac osx 10.11.6…

ulumi
- 63
- 1
- 8