Skip to content

Commit

Permalink
Merge pull request #733 from opentable/fix-file-watcher
Browse files Browse the repository at this point in the history
Repackage all components when file is outside component dir
  • Loading branch information
nickbalestra authored Nov 2, 2017
2 parents e4d3540 + ada631c commit cfc0e04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/facade/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ module.exports = function(dependencies) {
);
if (!hotReloading) {
logger.warn(strings.messages.cli.HOT_RELOADING_DISABLED);
} else if (!componentDir) {
cb(components, done => liveReloadServer.refresh('/'));
} else {
cb([componentDir], done => liveReloadServer.refresh('/'));
}
Expand Down

0 comments on commit cfc0e04

Please sign in to comment.