Questions tagged [livereload]

LiveReload applies CSS/JS changes to Safari or Chrome w/o reloading the page (and autoreloads the page when HTML changes)

564 questions
6
votes
2 answers

WebSocket connection to 'ws://localhost:35729/livereload' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Hi I've assigned a existing running project after the previous developer left the company.I just cloned the project from github and did bundle. On running the project I get the following error on browser console. WebSocket connection to…
Bibek Sharma
  • 3,210
  • 6
  • 42
  • 64
6
votes
1 answer

Jekyll autoreload browser page

It's possible to have a livereload (or browsersync) like system that run with jekyll serve without using other tools like grunt/gulp? What I'm expecting is to edit a css, sass, html or md file and have the browser page auto reloading. I'm using…
lifeisfoo
  • 15,478
  • 6
  • 74
  • 115
6
votes
0 answers

livereload with npm and browserify

I am trying to use just npm for building my project (so i dont want to use gulp or grunt). I want to reload the page everytime any project files change, but i can't figure out how this can be done. Can somebody help me, how i would need to use e.g…
rowa
  • 61
  • 2
6
votes
2 answers

How to temporarily disable browsersync?

How can I temporarily disable browsersync, so that it doesn't inject/modify HTML pages? (For testing and debugging.)
mjs
  • 63,493
  • 27
  • 91
  • 122
6
votes
1 answer

Create a server that runs PHP with Gulp and Livereload

I'd like to adapt this code to serve PHP files. I have MAMP running a local server but I can't figure out how this code works in order to make the necessary changes. I know that Node server won't interpret PHP files, but I'm confused about this…
zok
  • 6,065
  • 10
  • 43
  • 65
6
votes
5 answers

Live reload is not working with Ionic serve command

As per the Ionic Guide Chapter 4 http://ionicframework.com/docs/guide/testing.html, ionic serve will start a live reload server, which it does in my case, but reload is not happening. Is there any pre-req we need to have for this thing to work? Like…
Kunal Kapadia
  • 3,223
  • 2
  • 28
  • 36
6
votes
2 answers

Gulp LiveReload for PHP files, wont't refresh browser

Building myself a gulpfile.js for a WordPress theme. Currently all the JS and CSS is working perfectly, and livereload is reloading on css/js change. But I also want to refresh the browser whenever a PHP file is changed. I did some searching and…
simen
  • 483
  • 1
  • 6
  • 18
6
votes
2 answers

Gulp Livereload in Chrome

The below code seems to work just fine until I go to 1ocalhost:8081... then I get the message..
{"tinylr":"Welcome","version":"0.0.5"}
My directory structure is.... ____gulp | |____build | | |____images | | |____index.html | |…
Bill
  • 4,614
  • 13
  • 77
  • 132
6
votes
2 answers

Hot Code Push NodeJS

I've been trying to figure out this "Hot Code Push" on Node.js. Basically, my main file (that is run when you type node app.js) consists of some settings, configurations, and initializations. In that file I have a file watcher, using chokidar. When…
Daniel
  • 1,692
  • 2
  • 13
  • 19
6
votes
5 answers

Disable LiveReload with Yeoman

When testing in IE8, LiveReload throws errors since web sockets is not supported. Is there a way to configure yeoman to disable LiveReload?
brewster
  • 4,342
  • 6
  • 45
  • 67
5
votes
1 answer

Live relod not working in vscode Development Container for angular

I have been working on a mock application in angular using the VScode Development Container. For that I created a docker and created the devcontainer.json using the Add Development container configuration file option. Everything was working…
leox
  • 1,315
  • 17
  • 26
5
votes
1 answer

How to remove livereload on production?

I managed to deploy my first Svelte app using Github Pages. Only a problem remains is that the livereload script is still loading but the path to the script cannot be found and causes the slow finishing load as you can see in the live site. Is there…
khangnd
  • 323
  • 3
  • 11
5
votes
2 answers

SpringBoot livereload has no effect on OS X for static sources

I'm using Spring Boot 2.0.4.RELEASE with embedded Tomcat server and Intellij Idea 2018.2 on my Os X High Sierra. As tutorial says https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html I added in my pom.xml…
Arkady
  • 1,178
  • 14
  • 35
5
votes
1 answer

Grunt Watch LiveReload on site on server

I am developing a WordPress site on a server (not local). I want to refresh the page in my browser whenever I modify a sass file. I've got some grunt tasks listed, but right now I just want it to refresh on any sass modification. Right now, it…
Jordan Carter
  • 1,276
  • 3
  • 19
  • 43
5
votes
2 answers

LiveReload Ionic: ​The connection to the server was unsuccessful (http://192.168.56.1:8100/)

I'm trying to run my App at Android device with LiveReload. With "ionic run android" command, everything works but when I try to execute "ionic run android -l" to use livereload I'm getting this error after SplashScreen: ​The connection to the…
Thiago Coelho
  • 101
  • 1
  • 5