Permalink
Browse files

--watch should rebuild yui and not just loader

  • Loading branch information...
1 parent 9964465 commit 5cf80532690ec33aaba95bd71e2ec2e104258f85 @davglass davglass committed Sep 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/watch.js
View
4 lib/watch.js
@@ -78,8 +78,8 @@ var handler = function (file, curr, prev) {
if (changed(curr, prev)) {
log.info(name + ' changed, shifting');
if (name.indexOf('./meta') === 0) {
- log.info('meta changed, shifting loader');
- build(path.join(process.cwd(), '../loader'));
+ log.info('meta changed, shifting yui');
+ build(path.join(process.cwd(), '../yui'));
} else {
log.info('shifting here');
build(process.cwd());

0 comments on commit 5cf8053

Please sign in to comment.