Skip to content
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

wasm-tool producing error when auto-reloading from multiple served projects #145

Open
JSmithOner opened this issue Apr 21, 2023 · 0 comments

Comments

@JSmithOner
Copy link

JSmithOner commented Apr 21, 2023

I am running an angular app and I'm running two times the same project on different ports to test it locally.

after reloading and while building one of the project compiles fine be the other fails with this error.

ERROR in Rust compilation.
Error: Rust compilation.
    at ChildProcess.<anonymous> (/Users/cc/Documents/code/projects/my-project/node_modules/@wasm-tool/wasm-pack-plugin/plugin.js:236:24)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1093:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

I suspect this is the cache or maybe two files that are modified at the same time producing a race condition (rarely both works, but the compilation works for both the first time I run ng serve) any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant