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
5
votes
2 answers

Grunt Live-Reload via Watch

I'm trying to configure grunt to livereload js and less/css files on changes. While grunt does correctly "watch" and execute assigned tasks, it does not livereload the files. Below is my configuration, does anyone see what is wrong? module.exports =…
Ari
  • 4,121
  • 8
  • 40
  • 56
4
votes
1 answer

How to run ionic cordova live-reload on ios

How to run ionic cordova live-reload on ios ? Following to the ionicframework' doc ionic cordova run ios -l --external command will "start a live-reload server on all addresses and deploy the app to an iOS device using Cordova" Well for me it logs…
crg
  • 4,284
  • 2
  • 29
  • 57
4
votes
2 answers

NestJS (7.5.1) not watching assets in watch mode

For some reason, the nest start --watch is not watching any non-typescript assets. Even though I've followed exactly what this doc said: https://docs.nestjs.com/cli/monorepo#assets I can't seem to figure this out. I've tried in standard mode and…
Lat
  • 63
  • 1
  • 4
4
votes
1 answer

Webpack 4 devServer HMR plus full reload on other file changes (like views)

I have a web project with a working Webpack4 config using webpack-dev-server with HMR enabled and started this way via npm script: cross-env NODE_ENV=development webpack-dev-server --inline --hot All is OK, HMR works for my js and scss files. Now…
szegheo
  • 4,175
  • 4
  • 31
  • 35
4
votes
1 answer

Angular, Electron, Webpack live reloading

Summary: I'm trying to create an electron and angular app that uses electron-reload and webpack for live reloading. In my package.json file, I build angular and then run electron which runs the main process and bootstraps angular. In order to start…
S.Park
  • 41
  • 1
  • 3
4
votes
1 answer

How to use livereload with Webpack in Electron?

I'm trying to integrate Electron into the Akveo's ng2-admin, and I already had webpack config files for the Angular app, as well the Electron platform, you can actually look the integration here. What I'm trying now it's to get live reload…
Michael Jota
  • 138
  • 8
4
votes
3 answers

How to make a localhost with live reload?

I want a step by step explanation how to setup a localhost with live reload and so i can access that localhost on another laptop. Basically my goal is to do web development on one laptop an see the results on another laptop with live reload (IF that…
user5709693
4
votes
1 answer

How to disable livereload of gitbook

I want to know how to disable livereload of gitbook. I tried this: "plugins" : ["-livereload"] but it doesn't work.
zhlsky
  • 43
  • 4
4
votes
0 answers

How to use livereload with express (express generator)?

I researched livereload. The documentation says that after requiring it I should use it as such: livereload(app) The example code also shows how it's done var express = require('express') .... , livereload = require('express-livereload'); var…
relidon
  • 2,142
  • 4
  • 21
  • 37
4
votes
1 answer

How to set up grunt live-reload task with nginx and local tomcat

I am used to a development environment where I run a little node server locally and make my service calls to a remote REST API. I'm now in a setup where everything is local. There's a local tomcat instance running the REST API and nginx is being…
rakitin
  • 1,943
  • 6
  • 25
  • 51
4
votes
1 answer

npm lite-server doesn't recognize changes in css

I am building the angular 2 tour of heroes tutorial application. I am compiling my sass to generate the css but the lite-server doesn't recognize this change and hence doesn't refresh the browser. Changes to the .ts files are recognized as expected…
takeradi
  • 3,661
  • 7
  • 29
  • 53
4
votes
3 answers

What's the point of hot module reloading?

Forgive me if the question is too subjective. I do understand what it is. No need to explain that, please. I just don't get why people find it useful. Same for live reload. The act of pressing CMD+R isn't something that takes time. If the actual…
tybro0103
  • 48,327
  • 33
  • 144
  • 170
4
votes
2 answers

Gulp to watch when node app.listen() is invoked or to port (livereload, nodejs and gulp)

I am trying to get gulp-livereload to work with my nodejs server. I am using gulp-nodemon to restart the server after changes to the files, this works. I am having trouble invoking livereload.reload() at the correct time. I am currently invoking…
basickarl
  • 37,187
  • 64
  • 214
  • 335
4
votes
1 answer

Grunt watch/Bower link: What is the most appropriate way to use Grunt watch with Bower link when developing a bower component?

Problem I'm currently working on a project where we have a parent web application (happens to be an AngularJS application) and multiple child Bower modules (containing Javascript, SASS, images, etc.) that are included in the parent using Bower. For…
dabs
  • 41
  • 2
4
votes
1 answer

How to use livereload from multiple servers in a single page? (in particular with Grunt.js connect and watch)

I am trying to get livereload working in one website, triggered by different servers, from different projects. I am using Grunt.js with grunt-contrib-connect and grunt-contrib-watch. Here is an example: ProjectA is currently running a livereload…
Kev
  • 5,049
  • 5
  • 32
  • 53