-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to add extra grunt tasks? (e.g. grunt-reload) #22
Comments
I forgot to add that I've create a reload task under
|
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? 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 :) |
node 0.8.2 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? |
so, let's move here the discussion on making livereload a core functionality or not :) |
hi,
I'm relatively new to grunt and especially to lineman, and would like to add the grunt-reload task to my lineman project
I've
npm install grunt-reload
, and wrote my config/application.js as follows:simply to add the
reload
task to some sections.Using it fails though. To reproduce, I've started
lineman run
and modified a js or template file:when I set the port to 8000 (where the watch server serves), I got no errors, but reload still does not happen.
I would like to run grunt-reload to reload the browser when less and css files change. Of course, I could use guard for this but it would be nice to have just a single tool.
The text was updated successfully, but these errors were encountered: