P
P
Pavel2015-08-30 12:57:49
JavaScript
Pavel, 2015-08-30 12:57:49

Anyone have an example grunt watch with connect and livereload configured?

I've been struggling with the problem for 2 days now, I can't set up livereload for grunt.

connect: {
            main: {
                options: {
                    port: 8001,
                    hostname: '*',
                    livereload: true
                }
            }
        }

that I just did not try this way and that, the server rises, and the live riload does not work. Share your experience, and better a working example, thanks!
ps Oddly enough, Google does not want to give out anything sane about this. There are a lot of watch and connect examples, but I couldn’t find a specific livereload, and those examples that I have simply don’t work :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2015-08-30
@mrusklon

managed to find a good working example thecrumb.com/2014/03/15/using-grunt-for-live-reload

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question