GithubHelp home page GithubHelp logo

Comments (4)

nagyv avatar nagyv commented on June 27, 2024

I forgot to add that I've create a reload task under tasks/reload.js containing:

module.exports = function(grunt) {
  grunt.loadNpmTasks('grunt-reload');
};

from lineman.

davemo avatar davemo commented on June 27, 2024

Hey @nagyv, thanks for the report. I've tried to reproduce this error without success (I also couldn't get grunt-reload working at all though, but I can't get your errors to show up in my console). Could you provide me with a bit more information about your environment?

What version of node/npm are you running?
What version of Lineman (and Grunt) do you have installed?
Mac? Windows? Linux?

As a general note, I've talked with @searls and we do want to add an option for reloading the browser when the watch process detects file changes, we just want to make sure it's easy to do and doesn't involve having to override so many config options :)

from lineman.

nagyv avatar nagyv commented on June 27, 2024

node 0.8.2
lineman 0.2.3
grunt 0.3.16
grunt-reload 0.1.2
Linux

if you plan reloading, I've checked out already many projects that provide it. From a usability point of view, the best solution so far is the one from livereload - guard-livereload. Especially due to its browser plugins. Even though I did not manage to get it working grunt-reload seems to be OK compared to the existing solutions, and is quite mature and feature rich.

Do you get any errors when trying to get grunt-reload to work?

from lineman.

nagyv avatar nagyv commented on June 27, 2024

so, let's move here the discussion on making livereload a core functionality or not :)

from lineman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.