Skip to content

Commit

Permalink
Notice on dir rewatching
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubujka committed Feb 5, 2012
1 parent 6ac5563 commit d74dbf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cards_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def random_file_in dir

diff = files - watched
if diff.size <= 0
flash_s("Next loop on directory")
@@watched[dir] = []
diff = files
end
Expand Down

0 comments on commit d74dbf7

Please sign in to comment.