Permalink
Browse files

reset module map when reloading bundle

  • Loading branch information...
1 parent 0c9b354 commit 613675215f9fcfb73c3874751a3709ad8c9adc08 Paul Baumgart committed Jan 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundle.js
View
@@ -20,7 +20,6 @@ function Bundle(options) {
this._options = options;
this._watchedFiles = {};
this._entryFile = path.resolve(this._options.entryFile);
- this._options.moduleMap = (this._options.mangleNames ? null : {});
if (typeof this._options.devRequire === 'undefined') {
this._options.devRequire = !this._options.mangleNames;
}
@@ -35,6 +34,7 @@ Bundle.prototype = {
load: function() {
var counter = 0;
var files = [ this._entryFile ].concat(this._filesRequiredByFilters());
+ this._options.moduleMap = (this._options.mangleNames ? null : {});
this.loaded = false;
this.error = null;

0 comments on commit 6136752

Please sign in to comment.