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

Live update preview doesn't work for rust projects #522

Closed
gabbifish opened this issue Sep 4, 2019 · 0 comments · Fixed by #535
Closed

Live update preview doesn't work for rust projects #522

gabbifish opened this issue Sep 4, 2019 · 0 comments · Fixed by #535
Labels
bug Something isn't working regression Something is broken, but works in previous releases
Milestone

Comments

@gabbifish
Copy link
Contributor

🐛 Bug Report

Environment

  • operating system:
  • output of rustc -V: rustc 1.36.0 (a53f9df32 2019-07-03)
  • output of node -v: v8.10.0
  • output of wrangler -V: wrangler 1.2.0

Steps to reproduce

wrangler generate rust-test --type=rust
cd rust-test
wrangler preview --watch

What did you expect to see?

Live reload should successfully stay alive

What did you see instead?

$ wrangler preview --watch
⬇️ Installing wasm-pack...
 Compiling your project to WebAssembly...
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
    Finished release [optimized] target(s) in 0.01s
[INFO]: Installing wasm-bindgen...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: :-) Done in 0.09s
[INFO]: :-) Your wasm pkg is ready to publish at ./pkg.
⬇️ Installing wasm-pack...
Error: Your JavaScript project is missing a `package.json` file; is `./` the wrong directory?
@gabbifish gabbifish added bug Something isn't working status - PR welcome regression Something is broken, but works in previous releases labels Sep 4, 2019
@gabbifish gabbifish added this to the 1.3.0 milestone Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working regression Something is broken, but works in previous releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant