Skip to content

Commit

Permalink
Moved log statement to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Dec 12, 2012
1 parent e184f2b commit fe652ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/watch.js
Expand Up @@ -89,9 +89,9 @@ var handler = function (file, curr, prev) {

if (usableExts[ext]) {
if (changed(curr, prev)) {
log.info(name + ' changed, shifting');
util.find(dir, 'build.json', function(err, json) {
if (json) {
log.info(name + ' changed, shifting');
var dir = path.dirname(json);
if (name.indexOf('./meta') === 0) {
log.info('meta changed, shifting yui');
Expand Down

0 comments on commit fe652ae

Please sign in to comment.