-
Notifications
You must be signed in to change notification settings - Fork 212
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
Changes to code have no effect after first compilation #283
Comments
I have found a simpler workaround. After you have made your changes to your code and run Steps: I am pretty new to basically all the involved components of this (JS, npm, rust, wasm) so it is very likely there is a better way to accomplish the same in a simpler way. Please let me know |
I'm having the same issue. It looks like the files in |
This is an intentional change in 9.0 (release notes):
The cleanest solution is probably to use |
I have the same problem after following just the very first part (Hello World) and running nom |
Thank you!! I kept running into:
and this fixed it. |
Changes to code in the exercise of section 4.2 and later have no effect.
Only the result of the first compilation is ever used. Any changes after compiling the first time have no effect.
I have tried changing the version in the cargo.toml (as described in #261) + restarted the server + uninstall wasm-game-of-life from www and readded in to the dependencies section + removed the www app and recreated it. None of these steps help :(
The only way I have found to get around the problem is to remove the entire wasm-game-of-life folder and recreating it + applying all the changes to the code before running wasm-pack build.
Note this is the case for the steps in the subsection "Implementing Life" as well and not only in the exercise of section 4.2.
To Reproduce
Follow every steps in the tutorial.
Expected behavior
All changes to code are reflected in the behavior of the web app.
Additional context
I am following the steps in the tutorial and I am pretty sure I have done everything exactly as described. The first changes to the code after first compilation are made in the exercise in 4.2. This I where the problem occurs the first time.
The text was updated successfully, but these errors were encountered: