Open FrederikBolding opened 4 months ago
I've investigated the cause.
I've tried the following:
What we could do is to rewrite much of the snaps-cli to manually watch the manifest outside webpack and manually execute a webpack build on manifest update.
For the time being we decided to timebox this issue and not do it at this time.
When using
mm-snap watch
, the CLI will rebuild the Snap twice after detecting a change in the source code. Once because the source file changed and once again because rebuilding causessnap.manifest.json
to be updated.We should look into minimizing this and strictly rebuilding when necessary.