I'm experimenting with using noir to start three servers (each to handle a different aspect of the application). I am trying to do this so that I can run all three servers within one application while developing and easily decouple the project into three different applications for deployment.
It is no problem to use noir.server/start and noir.server/stop to run the jetty servers I need.
What I'm trying to figure out is some way to call load-views (or something like that) with a different set views for each server so that URI conflicts are handled by the correct defpage.
I found a solution that works by clearing
noir.core/noir-routes,noir.core/route-funcs,noir.core/pre-routes, andnoir.core/post-routes. I have an example below of a namespace that starts three servers all with their own views.