by Reefersleep · 11y ago · 0 comments
I'm used to working with raw JavaScript, ClojureScript with Figwheel, and Java/xhtml with JSF. Of the three, ClojureScript/Figwheel has given me the smoothest process so far, though I know there are tools for autoreloading raw js as well, just haven't gotten around to using them.
$ git clone <foo>
$ cd <foo>
$ cargo run
With something like this, you might want to also use https://github.com/passcod/cargo-watch , which, after installing it, changes that last line to $ cargo watch
and then it will recompile when you change a file, automatically.I haven't been able to test that this project works exactly this way because it looks like they're on an older nightly than I have on my machine, but it looks like that's all you need.
It's going to improve rapidly though.
Progress is being made on making this first class though: https://github.com/rust-lang/rfcs/issues/604