rksm / hot-lib-reloader-rs

Reload Rust code without app restarts. For faster feedback cycles.
MIT License
577 stars 21 forks source link

Allow custom name/path for hot reload file #32

Closed CryoMyst closed 6 months ago

CryoMyst commented 1 year ago

I have noticed that the hot reload file is always right next to the original. This does not help when multiple things need to hot reload the same file as the names can conflict. Consider allowing an alternative name either by an attribute parameter or a static prefix/suffix field on LibReloader we can set. https://github.com/rksm/hot-lib-reloader-rs/blob/f95f72f546c62ec805912bfc9af7fb1030c2285c/src/lib_reloader.rs#L320

rksm commented 6 months ago

Implemented via https://github.com/rksm/hot-lib-reloader-rs/pull/33