Skip to content

Commit

Permalink
fix onRebundle function args
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-brade committed Oct 9, 2015
1 parent 400796a commit 5d8bca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ App.prototype._writeScripts = function (dir, source, map, options) {
App.prototype.writeScripts = function(store, dir, options, cb) {
var app = this;
// racer-bundle will call this whenever it rebundles the app
options.onRebundle = function(source, map, options) {
options.onRebundle = function(err, source, map, options) {
app._writeScripts(dir, source, map, options);
app._refreshScripts();
};
Expand Down

0 comments on commit 5d8bca6

Please sign in to comment.