Skip to content

Commit

Permalink
BUG: fixed hot reload exclude for users w/out config
Browse files Browse the repository at this point in the history
  • Loading branch information
toranb committed Jul 6, 2018
1 parent cfcef56 commit b0d94ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/mixins/hot-reload-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default Mixin.create({
return this.resolveTemplate(templateParsedName) || this.resolveOther(templateParsedName);
},
excluded: computed(function() {
const exclude = config['ember-cli-hot-loader']['excluded'];
return exclude || [];
const configuration = config['ember-cli-hot-loader'];
return configuration ? (configuration['excluded'] || []) : [];
})
});

0 comments on commit b0d94ea

Please sign in to comment.