mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
use correct buildinfo.json so unipackages aren't rebuilt all the time
This commit is contained in:
committed by
David Glasser
parent
20efd73f98
commit
d99dac599a
@@ -1261,7 +1261,7 @@ _.extend(Package.prototype, {
|
||||
// If we're supposed to check the dependencies, go ahead and do so
|
||||
if (options.onlyIfUpToDate) {
|
||||
if (options.buildOfPath &&
|
||||
(buildInfoJson.buildOfPath !== options.buildOfPath)) {
|
||||
(buildInfoJson.source !== options.buildOfPath)) {
|
||||
// This catches the case where you copy a source tree that had
|
||||
// a .build directory and then modify a file. Without this
|
||||
// check you won't see a rebuild (even if you stop and restart
|
||||
|
||||
Reference in New Issue
Block a user