Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

WebIndex does not update the bundle hashes on watch mode #1013

Closed
xaviergonz opened this issue Jan 7, 2018 · 2 comments
Closed

WebIndex does not update the bundle hashes on watch mode #1013

xaviergonz opened this issue Jan 7, 2018 · 2 comments
Labels

Comments

@xaviergonz
Copy link
Contributor

xaviergonz commented Jan 7, 2018

When using hash: true and the webindex plugin, then the new bundles with a new hash get regenerated, but the webindex $bundles does not update, thus making a page reload load the old bundle rather than the updated one.

I'm using this as output:
output: `${outFolder}/$name-$hash.js`,

and two bundles:

fuse.bundle("vendor").instructions("~ index.tsx").watch();
fuse.bundle("app").instructions("> [index.tsx]").watch();
@nchanged
Copy link
Contributor

nchanged commented Jan 7, 2018

HM, that’s true webindex copies the html file only once ...

@nchanged
Copy link
Contributor

nchanged commented Jan 7, 2018

fuse-box@3.1.0-next.1

@devmondo devmondo added the bug label Jan 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants