koolth / generator-bourbon-neat

Yeoman generator for a website using thoughtbot's Bourbon Neat. Options for Normalize and Modernizr!
MIT License
34 stars 5 forks source link

Livereload #2

Closed hwaal closed 10 years ago

hwaal commented 10 years ago

Livereload wasn't working for me. So I changed (line 58-67)

livereload: { options: { livereload: '<%= connect.test.options.livereload %>' }, files: [ '<%= config.app %>/{,/}.html', '.tmp/styles/{,/}.css', '<%= config.app %>/images/{,/}' ] }

to

livereload: { options: { livereload: true }, files: [ '<%= config.app %>/{,/}.html', '.tmp/styles/{,/}.css', '<%= config.app %>/images/{,/}' ] }

It's working properly for now. Not sure the solution is any good thought...

drpuff commented 10 years ago

Well spotted! It's referencing a missing config setting: connect.test.options.livereload. Should be looking at the port, so could change to: connect.options.livereload (which does exist). I'll fix this straightaway. Thanks.