Fork me on GitHub
#mount
<
2018-09-18
>
leblowl22:09:39

Hello, I ran into a little hiccup with mount. I am in the REPL and I have two projects that both use mount and one proj depends on the other. I was thinking mount only respected the currently loaded namespace, but it seems I can be in any namespace and mount/start just starts everything which is a mess. I worked around this initially by just maintaining a list of states in my libary's entrypoint and calling start only these states.. but that's a little tedious with a lot of states. This example shows the ideal usage for packaging a library https://github.com/tolitius/mount#packaging ... I haven't got that working. Using the same setup as the example, a call to mount/start in a library starts all the states the REPL knows about it seems like. Is it because I am using checkouts. Regardless, I think being able to restart only the state that the current namespace depends on would be a great feature. Any ideas? Thanks