938 questions
0
votes
0
answers
138
views
The invocation of `next` function of Browsersync middleware does not prevent the browser delay because of the loading
I suppose, it a question about the middleware concept in Node.js and even in some other languages and frameworks, but AFAIK the narrowly specialized questions are welcome, so in my case there is the ...
0
votes
0
answers
38
views
BrowserSync is syncing with the wrong file but with the same name
I am using BrowserSync to do some live reloading of my css files. I noticed it was working on some files and not others. I thought that was odd so I checked the network log and BrowserSync is syncing ...
0
votes
1
answer
63
views
Gulp changes reflects only on manual refreshing not automatically
I’m reaching out for some assistance regarding an issue I’ve encountered with my Gulpfile setup. I’ve configured the browser sync option in the file, and while changes are correctly getting reflected ...
0
votes
1
answer
27
views
Stop Browsersync from opening a browser tab [webpack.mx.js]
Laravel Mix can use Browsersync to keep a browser updated while making code changes, and that's good.
But on every start, a new browser tab is opened, and after a few restarts, it's just crazy.
I'd ...
0
votes
0
answers
73
views
How to fix HTTP_HOST when using docker with browser-sync
I'm trying to set up my new development environment (on Mac) for a simple PHP project (with Kirby CMS) and have decided to use Docker and Browser Sync. Without Browser Sync my setup works fine. ...
1
vote
1
answer
346
views
BrowserSync throws aggregate Error with Gulp 5/Node.js v.20
I am attempting to rebuild my gulpfile.js after upgrading to Gulp 5 and the most recent stable version of Node.js (20.11.1). The gulpfile below works just fine with Node.js version 16.14.0, but is ...
2
votes
0
answers
300
views
Issues with browsersync on ddev / wordpress / gulp - local setup - Either works on root or on subdirectories
Setup:
I exposed the ports for browsersync according to another question on stackoverflow:
#ddev-generated
# Override the web container's standard HTTP_EXPOSE and HTTPS_EXPOSE
# This is to expose the ...
0
votes
1
answer
39
views
Lite-Server running script twice, interjecting wrong HTML tag
I have a simple website built using Node.js and TypeScript, which is prepared for distribution through webpack. When I open the output in browser, it works just fine. However, if I open the page using ...
0
votes
0
answers
49
views
ExpressJS autoreload with browsersync
Im trying to setup a simple express server with typescript, nodemon and browsersync.
I would like it to refresh the browser everytime a node file (ts file) is changed to reflect the changes in the ...
1
vote
0
answers
73
views
Why is Browser Sync not refreshing (only) css changes?
this is my current configuration:
"scripts": {
"dev": "run-p dev:*",
"build": "run-p build:*",
"build:webpack": "webpack -...
0
votes
1
answer
92
views
BrowserSync not working when on LTE connection or no Internet Connection
My local dev environment (MBP) has apache running with a dynamic virtual host which allows me to have any project accessible via a consistent url structure:
http://[client_name].[project_name]....
1
vote
1
answer
3k
views
Conflicting Peer Dependency Issue "[email protected] and [email protected]"
Hello I am trying to install splide.js with npm install @splidejs/splide but I get this error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: browser-...
3
votes
0
answers
637
views
Docker: Browsersync not working correctly
I'm encountering an issue with my Node.js app using Gulp, Browsersync and Docker.
When running locally with gulp watch, everything works fine.
However, when using docker-compose up, I get an error
...
0
votes
1
answer
85
views
Problem with browsersync proxy since I changed the apache to brew apache
I've had a mackbook M2 for a few months now and from the beginning I installed Apache from BREW. Thean loaded the websites I had already created on it.
Through Grunt I load browsersync and everything ...
0
votes
1
answer
91
views
Cannot get Browser Sync to detect changes
I'm having some issues with Browser Sync on a local Wordpress project. When I run:
browser-sync start --proxy localhost:8888 --files "*"
I get the following:
[Browsersync] Proxying: http://...