Permalink
Browse files

Unitialized variable log when watch is enabled and multiple file chan…

…ges are detected immediately.
  • Loading branch information...
1 parent 4384c5e commit 6a22799ae847dd671ada05ad29ea31e4ff579129 @brandonramirez brandonramirez committed Oct 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/buildr.coffee
View
@@ -178,15 +178,15 @@ class Buildr
# Process
process: (next) ->
+ # Prepare
+ log = @log
+ next or= @config.buildHandler
+
# Check
if @processing
log 'info', 'Processing postponed'
return
@processing = true
-
- # Prepare
- log = @log
- next or= @config.buildHandler
# Log
log 'info', 'Processing started'

0 comments on commit 6a22799

Please sign in to comment.