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
0
votes
1 answer

what does livereload server do?

what does the livereload in grunt do, does watch already do what we want? For example if we run the server at port 9000 and the livereload server runs at port 9001. What will happen when there are changes in the files we are watching, should we see…
Blake
  • 7,367
  • 19
  • 54
  • 80
0
votes
1 answer

guard-livereload not reload browser

I am using guard-livereload gem to monitor changes in a PHP project. This is a gist to describe my guard config: #setup the Gemfile $ nano Gemfile source 'https://rubygems.org' group :development do gem 'guard' gem 'guard-livereload', require:…
user1066183
  • 2,444
  • 4
  • 28
  • 57
0
votes
1 answer

GulpJS: Livereload not refreshing for Sass changes (works for JS changes)

My gulpfile watches for changes to Sass files then should fire a refresh for the lr server. The watch event is working fine as the Sass is being compiled on each change, however the browser is not refreshing. I am using gulp-ruby-sass to compile the…
Fisu
  • 3,294
  • 9
  • 39
  • 61
0
votes
2 answers

LiveReload LoadError lib/compass/bin/compass

Haven't had any trouble with LiveReload until last week, when I must've done something that messed up a path. Whenever I save a SASS file, I get the following error: /usr/bin/ruby: No such file or directory --…
gwezerek
  • 105
  • 1
  • 7
0
votes
1 answer

What files to watch with grunt-contrib-watch when wanting to reload Javascript files?

I have an app written in Coffeescript. My grunt.js file looks like this: module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), clean: { test: { files: [{ src: ['.tmp'] …
0
votes
1 answer

live reload with grunt and typescript on windows

I am trying to get grunt to reload the browser when it compiles the typescript. It is correctly watching the files and compiling them but I can not figure out how to reload the browser. I tried setting livereload: true in various places with no…
Yamiko
  • 5,303
  • 5
  • 30
  • 52
0
votes
1 answer

Grunt: Force Live reload to refresh at home page instead of current URL?

I am using grunt. Under watch task I have livereload set to true. Whenever I make a change it automatically refreshes my browser at current URL. Is there anyway to force it to refresh it to home page instead of current url?
webdev
  • 598
  • 5
  • 16
0
votes
1 answer

Gulp JS with live reload - what gets reloaded

I am testing Livereload with gulp.js and the Chrome extension for livereload. My gulpfile.js // gulpfile.js var gulp = require('gulp'), livereload = require('gulp-livereload'); gulp.task('watch', function() { var server = livereload(); …
Kelvin Yong
  • 118
  • 7
0
votes
1 answer

Can't get livereload to work in gruntfile.js

This is my first time build a Gruntfile.js and everything is working but live reload, I keep getting a task...Error when I add livereload: true, to the watch options, am I missing something out or have I done something wrong? I looked here…
mayhemds
  • 434
  • 1
  • 4
  • 13
0
votes
0 answers

Couldn't initialize guard-livereload on ruby 2.0

When I tried to initalize with guard --debug the following error occured. For a better Pry experience on Windows, please use ansicon: http://adoxa.3eeweb.com/ansicon/ DL is deprecated, please use Fiddle 21:14:45 - INFO - You must 'gem install…
Naing Lin Aung
  • 3,373
  • 4
  • 31
  • 48
0
votes
1 answer

tinylr/nodejs - how to access the currently running server

In the parent process, I have started the tiny-lr(livereload) server, followed by spawing a child process which looks for changes to the css files. how to pass on the livereload server to the child process or is it possible to query for the…
coool
  • 8,085
  • 12
  • 60
  • 80
0
votes
1 answer

grunt watch no longer refreshes Chrome when using custom open connect config via https

I just started up a new yo angular scaffolding and tried to configure grunt-contrib-connect to open a custom ssl domain name instead of localhost:9000. The custom domain is proxy_pass'd from https://api/ to http://localhost:9000 using…
notbrain
  • 3,366
  • 2
  • 32
  • 42
0
votes
1 answer

Gruntjs Livereload is watching but not updating

Here's my Gruntfile.js http://pastebin.com/JZU5bbDk and my package.json http://pastebin.com/umYsnWi1 I did npm install inside the main directory of my workspace (using WAMP) and it installed node_modules folder with a bunch of subfolders inside. I…
test
  • 17,706
  • 64
  • 171
  • 244
0
votes
0 answers

I can't get 'grunt watch' to enable 'livereload'

I am woking on a jekyll project and in the process of building my grunt file, I have been able to get the scripts to concat and minify, buy I am having problems with refreshing my browser... This is my grunt file. module.exports = function(grunt)…
Antonio Pavicevac-Ortiz
  • 7,239
  • 17
  • 68
  • 141
0
votes
1 answer

Grunt php livereload not work

i've a grunt script that run a php server, i've configured grunt to watch php files and livereload them. When i change a php file (and other kind of file inside my project) grunt log: File "application/views/welcome_message.php" changed. Completed…
Matteo Codogno
  • 1,569
  • 6
  • 21
  • 36