Relm4 / icons

Icons for your Relm4 application
Apache License 2.0
13 stars 5 forks source link

`cargo:rerun-if-changed={folder}` doesn't run recompiling after icons folder was changed #15

Open lessneek opened 6 months ago

lessneek commented 6 months ago

icons.toml

icon_folder = "src/res/icons"

When I put a new svg icon to the icon_folder (the folder modify property is changed) and cargo run an app doesn't display a new icon, because cargo doesn't rerun the icons building script. I need save the icons.toml without any changes in order to update the modify property of the file to rerun compiling of relm4-icons crate build script.

I think a path to icon_folder should be a full path.