@conan is the feature of mount where reset is run each time a file changes easily configurable? I'd prefer more control over when I do a reset vs compile an individual namespace.
you can exclude a specific component with metadata which i've done before, but mostly i've been happy with how it works. what sort of situation are you thinking of where you wouldn't want the component to restart, have you come across necessarily long-running components before?
here's the relevant bit of the docs https://github.com/tolitius/mount#recompiling-namespaces-with-running-states
the library itself is actually really nice, it results in a lot less code and configuration. i expect when systems get large and fine-grained control is needed it might get limiting, but i always find myself in microservice environments these days so it never seems to happen ¯\(ツ)/¯
convention over configuration and all that
Running Edge's (reset)
function seems to restart figwheel, which takes a long time (~3-5s). Is there any way of avoiding this? Once figwheel is up and running I don't have any reason to stop it really, but I want to be able to restart my backend system quickly
It is only slow for the the first reset
ah, then it keeps things running huh? ok that's perfect
only if you change it's config will it do a full reset.