![]() I'm not sure that livereload works with the baked in "watch" task and I've been using grunt-regarde of late. Keep in mind, this is how I have it set up and it seems to work most of the time.įor starters, you'll want to make sure you've udpated your package.json with the right dependencies. I ran into issues with this one too so let me do what I can to explain (or at least get you up and running). grunt-contrib-watch now has livereload support baked in. or provide a functional example with some explanation of why it is functional.Įdit: Check versioning info.explain these unexplained parts of the readme, if those answers are what I need to understand the plugin. ![]() point me towards a tutorial that is much more effective than the current readme. ![]() I guess I'm asking if someone can please: "All the browsers listening on the livereload port will be reloaded" - but how do I know which browser is listening to which port? Do I need to learn all about ports before I can try using livereload? (Any suggestion on how to best learn about that?)įinally, in the example, there is a folderMount function that doesn't seem related to any of the documentation before. The readme mentions middleware that "must be the first one inserted" - but inserted into what, before what else? And how is it inserted?Īnd I suppose I don't understand how I need to manipulate ports. Is grunt-contrib-connect required? What does it do, and how do I use it? Do I need to learn connect before I try using livereload? The documentation says the livereload task "must be passed the list of files that have changed" - but how do I pass it this list of files? The example does not seem to illustrate this. files: app/less/ livereload: < > tasks: less.Here are the kinds of questions I have, based on the readme: Watch for changes to less files, then run the less Grunt task. Can someone please explain how to get started with this tool? I have searched for a better explanation in a blog post or tutorial or whatever, but haven't been able to find one. The readme seems to skip over everything that I need explained, and then ends with an example that doesn't work when I try it and doesn't seem directly related to the documentation. ![]() I'm trying to use grunt-contrib-livereload, but can't seem to figure it out. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |