It is a serious damage to the benefit of having a REPL if things behave quite differently between dev and prod (“prod” being what comes out of
lein uberjar). Building web apps I see this happening from time to time; for example, right now the two problems I’m dealing with are:
csrf-protection working in dev but not with
- My server providing images (just one, to be precise: a header image) which is part of the package and is visible in REPL but replies with a 500 error in
While it would really be great if someone here had resolved either of those issues before, my point is really the more general one: what do you do when the awesome power of REPL-driven development is undermined by this lack of reliability that Prod will behave as dev does?