diff --git a/lib/App.server.js b/lib/App.server.js index c926c2904..21c731f06 100644 --- a/lib/App.server.js +++ b/lib/App.server.js @@ -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(); };