Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Check if which is truthy before trying to append a color to it; fallback to a generic message #4

merged 1 commit into from

2 participants


Just a small change because I found that which was undefined always and it caused a very noisy console.

@edwardhotchkiss edwardhotchkiss merged commit d837e2d into edwardhotchkiss:master


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 10, 2012
  1. @MikeMayer

    which was always undefined and every change spewed a ton of mess to m…

    MikeMayer committed
    …y logger; check if which is truthy instead then log
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 bin/always.js
5 bin/always.js
@@ -149,7 +149,10 @@ function initializeFileMonitor(app){
// setup monitor EE
var monitor = Monitor.create(path.dirname(app));
monitor.on('change', function(which) {
- logger(' has changed, restarting');
+ if (which)
+ logger(' has changed, restarting');
+ else
+ logger('app has changed, restarting');
Something went wrong with that request. Please try again.