Skip to content

Commit 5cee0d4

Browse files
committed
fix(wrapper/webpack): do not return while webpack is loading
1 parent 3e382d9 commit 5cee0d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsHelper/spicetifyWrapper.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,8 @@ window.Spicetify = {
447447
})();
448448

449449
(async function hotloadWebpackModules() {
450-
if (!window?.webpackChunkclient_web) {
450+
while (!window?.webpackChunkclient_web) {
451451
await new Promise((r) => setTimeout(r, 50));
452-
return;
453452
}
454453

455454
// Force all webpack modules to load

0 commit comments

Comments
 (0)