rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Should 'wasm-pack init' be change to 'wasm-pack build' #102

Closed davidMcneil closed 6 years ago

davidMcneil commented 6 years ago

Where in the docs did you come across this? The end of the "Hello World!" chapter. Where it says "Anytime you make changes and want them reflected on http://localhost:8080/, just re-run the wasm-pack init command within the wasm-game-of-life directory."

Describe what about it does not make sense I believe it should 'wasm-pack build' instead of 'wasm-pack init'.

Why does it not make sense? 'wasm-pack init' is deprecated.

How could we improve it? Change it to 'wasm-pack build'

jjpe commented 6 years ago

Just saw this myself, an easily clickable link is here.