mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
make rebuild-all delete the right directory
This commit is contained in:
@@ -11,6 +11,7 @@ var compiler = require('./compiler.js');
|
||||
var buildmessage = require('./buildmessage.js');
|
||||
var tropohouse = require('./tropohouse.js');
|
||||
var watch = require('./watch.js');
|
||||
var files = require('./files.js');
|
||||
|
||||
var catalog = exports;
|
||||
|
||||
@@ -487,7 +488,7 @@ _.extend(Catalog.prototype, {
|
||||
var count = 0;
|
||||
_.each(self.effectiveLocalPackages, function (loadPath, name) {
|
||||
var buildDir = path.join(loadPath, '.build');
|
||||
files.rm_recursive(loadPath);
|
||||
files.rm_recursive(buildDir);
|
||||
});
|
||||
|
||||
// Now reload them, forcing a rebuild. We have to do this in two
|
||||
|
||||
Reference in New Issue
Block a user