diff --git a/Gemfile b/Gemfile index b3c9577..75a6079 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,8 @@ gem 'jekyll-assets' gem 'less' gem 'therubyracer' gem 'yui-compressor' + +group :development do + # Automatically reload your browser when 'view' files are modified + gem 'guard-livereload' +end diff --git a/Gemfile.lock b/Gemfile.lock index 7de109d..cf2a1e1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,14 +4,31 @@ GEM blankslate (2.1.2.4) classifier (1.3.4) fast-stemmer (>= 1.0.0) + coderay (1.1.0) colorator (0.1) - commander (4.1.5) + commander (4.1.6) highline (~> 1.6.11) commonjs (0.2.7) + em-websocket (0.5.0) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.5.3) + eventmachine (1.0.3) fast-stemmer (1.0.2) ffi (1.9.3) + formatador (0.2.4) + guard (1.8.3) + formatador (>= 0.2.4) + listen (~> 1.3) + lumberjack (>= 1.0.2) + pry (>= 0.9.10) + thor (>= 0.14.6) + guard-livereload (1.4.0) + em-websocket (>= 0.5.0) + guard (>= 1.8.0) + multi_json (~> 1.7) highline (1.6.20) hike (1.2.3) + http_parser.rb (0.5.3) jekyll (1.4.3) classifier (~> 1.3) colorator (~> 0.1) @@ -23,10 +40,10 @@ GEM redcarpet (~> 2.3.0) safe_yaml (~> 0.9.7) toml (~> 0.1.0) - jekyll-assets (0.7.4) + jekyll-assets (0.7.5) jekyll (~> 1.0) sprockets (~> 2.10) - less (2.4.0) + less (2.5.0) commonjs (~> 0.2.7) libv8 (3.16.14.3) liquid (2.5.5) @@ -34,11 +51,17 @@ GEM rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) rb-kqueue (>= 0.2) + lumberjack (1.0.4) maruku (0.7.1) + method_source (0.8.2) multi_json (1.8.4) parslet (1.5.0) blankslate (~> 2.0) posix-spawn (0.3.8) + pry (0.9.12.6) + coderay (~> 1.0) + method_source (~> 0.8) + slop (~> 3.4) pygments.rb (0.5.4) posix-spawn (~> 0.3.6) yajl-ruby (~> 1.1.0) @@ -51,16 +74,18 @@ GEM redcarpet (2.3.0) ref (1.0.5) safe_yaml (0.9.7) + slop (3.4.7) sprockets (2.10.1) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - therubyracer (0.12.0) + therubyracer (0.12.1) libv8 (~> 3.16.14.0) ref + thor (0.18.1) tilt (1.4.1) - toml (0.1.0) + toml (0.1.1) parslet (~> 1.5.0) yajl-ruby (1.1.0) yui-compressor (0.12.0) @@ -69,6 +94,7 @@ PLATFORMS ruby DEPENDENCIES + guard-livereload jekyll (~> 1.4.3) jekyll-assets less diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..188799a --- /dev/null +++ b/Guardfile @@ -0,0 +1,6 @@ +# A sample Guardfile +# More info at https://github.com/guard/guard#readme + +guard 'livereload' do + watch(%r{public/.+\.(css|js|html)}) +end diff --git a/_config.yml b/_config.yml index ceb6479..e7a5ce2 100644 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,7 @@ permalink: pretty source: ./ destination: ./public -exclude: ['Gemfile*', 'README', 'vendor'] +exclude: ['Gemfile*', 'Guardfile', 'README', 'vendor'] keep_files: ['.gitkeep'] encoding: UTF-8