juxt

jonpither 2019-04-02T07:31:42.023Z

@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.

conan 2019-04-02T08:53:46.023300Z

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?

conan 2019-04-02T08:54:26.023500Z

here's the relevant bit of the docs https://github.com/tolitius/mount#recompiling-namespaces-with-running-states

conan 2019-04-02T08:56:24.023800Z

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 ¯\(ツ)

conan 2019-04-02T08:56:35.024Z

convention over configuration and all that

conan 2019-04-02T13:05:36.025300Z

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

dominicm 2019-04-02T13:10:32.025800Z

It is only slow for the the first reset

conan 2019-04-02T13:13:06.026200Z

ah, then it keeps things running huh? ok that's perfect

dominicm 2019-04-02T13:26:11.026500Z

only if you change it's config will it do a full reset.