From 00ac776fc4b7b126515c9e3a005ce63ae804ff2d Mon Sep 17 00:00:00 2001 From: Capi Etheriel Date: Tue, 26 Mar 2013 11:21:05 -0300 Subject: [PATCH 1/2] Document livereload usage in config file --- .../lib/middleman-core/templates/shared/config.tt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/templates/shared/config.tt b/middleman-core/lib/middleman-core/templates/shared/config.tt index 537d1c6b..aaf306ba 100755 --- a/middleman-core/lib/middleman-core/templates/shared/config.tt +++ b/middleman-core/lib/middleman-core/templates/shared/config.tt @@ -40,6 +40,11 @@ # Automatic image dimensions on image_tag helper # activate :automatic_image_sizes +# Enable middleman-livereload +# First: gem install middleman-livereload +# Or add it to your Gemfile and run bundle install (preferred) +# activate :livereload + # Methods defined in the helpers block are available in templates # helpers do # def some_helper @@ -89,4 +94,4 @@ configure :build do # Or use a different image path # set :http_path, "/Content/images/" -end \ No newline at end of file +end From c1c752aa32124c17c4a95ca6841ccb2bc98f617f Mon Sep 17 00:00:00 2001 From: Capi Etheriel Date: Tue, 26 Mar 2013 15:07:22 -0300 Subject: [PATCH 2/2] Suggest adding middleman-livereload to bundle --- middleman-core/lib/middleman-core/templates/shared/config.tt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/templates/shared/config.tt b/middleman-core/lib/middleman-core/templates/shared/config.tt index aaf306ba..ed9c5ff4 100755 --- a/middleman-core/lib/middleman-core/templates/shared/config.tt +++ b/middleman-core/lib/middleman-core/templates/shared/config.tt @@ -41,8 +41,7 @@ # activate :automatic_image_sizes # Enable middleman-livereload -# First: gem install middleman-livereload -# Or add it to your Gemfile and run bundle install (preferred) +# First: add it to your Gemfile and run bundle install # activate :livereload # Methods defined in the helpers block are available in templates