Questions tagged [gulp-browser-sync]
148 questions
0
votes
2 answers
Gulp Browser Sync Issue: http://192.168.1.104:8080/ Not Working
I am a beginner in WordPress. I am learning to build a WordPress theme using underscores. After typing "gulp" in the command line, http://192.168.1.104:8080/ is being opened in the browser. It continues to load, but ended up with this error:
This…

john
- 475
- 2
- 5
- 19
0
votes
2 answers
Browsersync doesn't refresh on wamp
I have a small problem against I'm fighting since few hours. I'd like to use gulp for watching scss files, convert them to css then reload browser.
It worked until reload browser. So sass is working with gulp but not Browsersync. Here is my…

Chris Carton
- 59
- 5
0
votes
1 answer
Gulp browser-sync reloading and not injecting css
Can I get some insight on why I'm getting this message in chrome console, it seems to prevent css code injection.
Browsersync reloading all stylesheets because path
'html\css\theme.css' did not match any specific one.
I suspect it's a path issue…

Alexut
- 41
- 5
0
votes
1 answer
why my gulp+browser-sync settings not work?
I have used it for a long time, my settings is here, but today I try to start a new project, and use it again, but it does not work as expected.
here is the result when I start the command gulp
my package.json file is the same as before, but with…

hanzichi
- 609
- 2
- 12
- 22
0
votes
0 answers
Browsersync works only on second save
I never encountered this issue before cause I worked with one-page websites. But now I have several pages, and when I created third file in 'build' folder, browsersync started to work not as expected.
Basically, browsersync now makes changes in…

Денис Шпитальный
- 17
- 9
0
votes
2 answers
browsersync + gulp not injecting css - only reloading
I have recently moved to using BrowserSync, I followed their gulp guide and tweaked a few things to solve some issues I was having, however now whilst it works, it appears to reload the page every time rather than inject the CSS.
My gulp file:
var…

Brett
- 19,449
- 54
- 157
- 290
0
votes
2 answers
BrowserSync Gulp doesn't open in Chrome
I try to open my website on localhost using BrowserSync and Gulp in Chrome, but it doesn't work. Default, it open in Firefox and everything works well. But, when I change params in gulpfile.js to open website in Chrome - I have this information:…

Marek
- 117
- 6
- 14
0
votes
0 answers
How to remove port number from URL using gulp js
I am using gulpfile.js for compiling development. I want to remove the port number from the url, as my url is looking at mywebsite.dev:8080
The gulpfile.js code is below:
var gulp = require('gulp');
var browserSync =…

Badar Rashdi
- 11
- 3
0
votes
1 answer
Running multiple instances of browserSync
Browsersync detects only index.html and auto refresh can be applied only to this file. But how can I use browsersync for pages like about.html or comments.html etc. ???

Ren
- 71
- 2
- 12
0
votes
1 answer
Browser sync reloading not working
I am trying to configure browser synch with gulp, i want to watch my scss files and get them compiled and saved in a folder called dist, when changes are made and I also want to reload my browser when this process is completed.
so far I'm successful…

Shamseer Ahammed
- 1,787
- 2
- 20
- 25
0
votes
1 answer
Node + Gulp - Have to save files two times to see changes in browser
Could you please point me in the right direction to solve this inconsistence?
I'm working in a new project using Node, gulp and a list of gulp's plugins.
Everytime I do Ctrl + S the browser does reload but I don't see the changes applied so I need…

Federico Artía
- 35
- 1
- 5
0
votes
1 answer
GULP : how to watch for new images while using browserSync?
I can't figure out how to watch for new files with gulp-watch and apply gulp-image while using my browserSync... When I add a new image in my image folder (./fixtures/*), nothing happen. I would do it manually in the command line but I would have to…

jsgagne
- 21
- 4
0
votes
1 answer
Auto reload in browsersync not working
I tried many variant of code but the home.html load only once and it does not reload automatically when I change Style.css file in css folder.
I tried this
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var reload =…

Zeni
- 947
- 1
- 12
- 24
0
votes
0 answers
Gulp + PHP + SCSS + browserSync
How do I get the css files to update in the browser like livereload but have php files trigger a full reload? Everything else in my gulpfile is working, but nothing seems to be happening after gulp.dest. There's no errors and the output in my…

sinrise
- 391
- 3
- 21
0
votes
1 answer
Gulp browserSync reload
So my question is, is there a way that when I run gulp watch through my terminal my browser doesn't load on a new page but instead reloads on the present page?
https://i.stack.imgur.com/u1qXi.png

C. Crayton
- 3
- 2