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

Autoreloading doesn't work when placing Rust code in root folder. #131

Open
jcaesar opened this issue Jun 7, 2022 · 0 comments
Open

Autoreloading doesn't work when placing Rust code in root folder. #131

jcaesar opened this issue Jun 7, 2022 · 0 comments

Comments

@jcaesar
Copy link

jcaesar commented Jun 7, 2022

I like projects without folders, especially for smaller things. This can be done in Cargo.toml by

[lib]
crate-type = ["cdylib"]
path = "index.rs"

but that'll break webpack serve's auto reloading since it just watches the src folder.

(Probably, implementing #66 would be enough to make this work reasonably.)

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