lib/ascii_binder/tasks/guards.rb in ascii_binder-0.0.7 vs lib/ascii_binder/tasks/guards.rb in ascii_binder-0.0.8

- old
+ new

@@ -2,10 +2,10 @@ watch(/^.*\.adoc$/) { |m| if not m[0].start_with?('_preview') and not m[0].start_with?('_package') full_path = m[0].split('/') src_group_path = full_path.length == 1 ? '' : full_path[0..-2].join('/') filename = full_path[-1][0..-6] - system("bundle exec rake refresh_page['#{src_group_path}:#{filename}']") + system("asciibinder build --page='#{src_group_path}:#{filename}'") end } end guard 'livereload' do