Have Foundry reload automatically when it detects JS changes
This commit is contained in:
parent
0304af3695
commit
d69790ce89
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ const loaders = {
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
js() {window.location.reload()},
|
||||||
|
mjs() {window.location.reload()},
|
||||||
};
|
};
|
||||||
|
|
||||||
Hooks.on(`hotReload`, async (data) => {
|
Hooks.on(`hotReload`, async (data) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue