-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate CLI building twice when using watch
#2613
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: