bin/sb in starting_blocks-0.0.6 vs bin/sb in starting_blocks-0.0.7

- old
+ new

@@ -49,10 +49,12 @@ files.delete(file) end if ARGV.include? '--watch' files = Dir['**/*'] - location = File.expand_path(File.dirname(Dir['**/*_spec.rb*'].first)) + segments = File.expand_path(Dir['*'].first).split('/') + segments.pop + location = segments.join('/') FSSM.monitor(location, '**/*') do update {|base, relative| run_it relative, files } delete {|base, relative| delete_it relative, files } create {|base, relative| add_it relative, files } end