You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the bigger picture, I don't fully understand the rational behind this global config file that gets re-written every build. That seems ripe for race conditions when you have parallel builds on the same machine? I definitely don't have the full picture here but I wonder if it would make sense to have the cli pass in a path to a temporary file containing the config through an environment variable? Well, I guess not temporary temporary since it would also need a stable path across builds.
The text was updated successfully, but these errors were encountered:
Problem
Every time I rebuild my dioxus app, all crates that indirectly depend on manganis-macro are rebuilt.
Expected behavior
Only crates that have changes (e.g. my app) should be rebuilt.
Context
Running with cargo logging shows:
Which I surmise is because the config is written unconditionally, regardless of whether it already contains the config we want:
manganis/common/src/config.rs
Lines 56 to 65 in 63ee74f
I assume this resultant behavior isn't intended?
In the bigger picture, I don't fully understand the rational behind this global config file that gets re-written every build. That seems ripe for race conditions when you have parallel builds on the same machine? I definitely don't have the full picture here but I wonder if it would make sense to have the cli pass in a path to a temporary file containing the config through an environment variable? Well, I guess not temporary temporary since it would also need a stable path across builds.
The text was updated successfully, but these errors were encountered: