Skip to content

Commit

Permalink
Reminder about memoizing
Browse files Browse the repository at this point in the history
  • Loading branch information
nbartlomiej committed Dec 16, 2011
1 parent 208e21c commit 23c8aae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/guard/jessie/runner.rb
Expand Up @@ -16,6 +16,8 @@ def self.jessie_command(paths)
cmd_parts.join(" ") cmd_parts.join(" ")
end end


# TODO: Memoize, write integration tests checking that filesystem is
# not being hit more than once.
def self.jessie_path def self.jessie_path
local_jessie = './node_modules/jessie/bin/jessie' local_jessie = './node_modules/jessie/bin/jessie'
global_jessie = 'jessie' global_jessie = 'jessie'
Expand Down

0 comments on commit 23c8aae

Please sign in to comment.