From b62f0a2b38d3d1df08d5b35d64862ec61354cfeb Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 15 Nov 2024 16:08:28 +0300 Subject: [PATCH] fix #2231: force-update deps on script update --- src/background/utils/db.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background/utils/db.js b/src/background/utils/db.js index 85eb674ab0..12252d519d 100644 --- a/src/background/utils/db.js +++ b/src/background/utils/db.js @@ -787,6 +787,7 @@ export async function fetchResources(script, src) { */ async function fetchResource(src, type, url) { if (!src.reuseDeps && !isRemote(url) + || src.update || await storage[type].getOne(url) == null) { const { portId } = src; if (portId) postToPort(depsPorts, portId, [url]);