technomancy/leiningen — pull request #1572 by tihancock (2014-06-19 18:03:56+00:00)
Title: Check that exactly one (existing) source file is found per namespace whe...

...n compiling

This was preventing me from building incrementally in a project with multiple source paths. If you have e.g. A and B source paths and the file you're modifying is in B, the previous implementation could check the last modified time of a (non-existent) file in A against the last time the namespace was compiled and then think that nothing had changed.

This implementation will also ensure that you don't have duplicate namespace names in multiple different source paths.