theprogrammablemind_4wp 7.5.8-beta.52 → 7.5.8-beta.54
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/config.js +8 -1
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -919,7 +919,8 @@ class Config {
|
|
919
919
|
}
|
920
920
|
}
|
921
921
|
|
922
|
-
|
922
|
+
// { rebuild: false, isModule: false }
|
923
|
+
needsRebuild(template, instance, options) {
|
923
924
|
if (options.rebuild) {
|
924
925
|
return true
|
925
926
|
}
|
@@ -968,6 +969,12 @@ class Config {
|
|
968
969
|
}
|
969
970
|
|
970
971
|
const sameQueries = helpers.safeEquals(toCanonicalQueries(template.queries || []).map(helpers.updateQueries), toCanonicalQueries(instance.queries || []))
|
972
|
+
if (!(instance && sameQueries && sameFragments)) {
|
973
|
+
console.log('options.isModule', options.isModule)
|
974
|
+
console.log('sameQueries', sameQueries)
|
975
|
+
console.log('template.queries', toCanonicalQueries(template.queries || []).map(helpers.updateQueries))
|
976
|
+
console.log('instance.queries', toCanonicalQueries(instance.queries || []))
|
977
|
+
}
|
971
978
|
return !(instance && sameQueries && sameFragments)
|
972
979
|
}
|
973
980
|
|