Tweak hotReload hook
This commit is contained in:
parent
e7bb6f8de9
commit
16a714868e
1 changed files with 1 additions and 6 deletions
|
|
@ -30,10 +30,5 @@ Hooks.on(`hotReload`, async (data) => {
|
||||||
Handlebars.registerPartial(templateName, template);
|
Handlebars.registerPartial(templateName, template);
|
||||||
_templateCache[templateName] = template;
|
_templateCache[templateName] = template;
|
||||||
|
|
||||||
// Re-render open windows
|
return false;
|
||||||
for (const window of ui.windows) {
|
|
||||||
window.render(true);
|
|
||||||
};
|
|
||||||
|
|
||||||
return true;
|
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue