Permalink
Browse files

Reminder about memoizing

  • Loading branch information...
1 parent 208e21c commit 23c8aae0fb3ff51250efc5470a273b4dd219c7b3 @nbartlomiej nbartlomiej committed Dec 16, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/guard/jessie/runner.rb
@@ -16,6 +16,8 @@ def self.jessie_command(paths)
cmd_parts.join(" ")
end
+ # TODO: Memoize, write integration tests checking that filesystem is
+ # not being hit more than once.
def self.jessie_path
local_jessie = './node_modules/jessie/bin/jessie'
global_jessie = 'jessie'

0 comments on commit 23c8aae

Please sign in to comment.