This might be too big of a change, but I figured I should give it a shot anyway.
It might be just me, but I find it weird that first repl/reload reloads everything regardless of what has changed.
The way I use tools.namespace is:
Start REPL
Do some changes
Reload
Do more changes
Reload
So the fact of just starting the Clojure process/REPL already means we are loading current version of everything. So when I do reload at (3), I expect to only update namespaces that have changed after (1).
Expected: (3) only reloads namespaces changed after (1) Actual: (3) reloads every namespace it can find
Second reload (5) and all reloads after that work as expected, no change is required.
This might be too big of a change, but I figured I should give it a shot anyway.
It might be just me, but I find it weird that first repl/reload reloads everything regardless of what has changed.
The way I use tools.namespace is:
Start REPL
Do some changes
Reload
Do more changes
Reload
So the fact of just starting the Clojure process/REPL already means we are loading current version of everything. So when I do reload at (3), I expect to only update namespaces that have changed after (1).
Expected: (3) only reloads namespaces changed after (1)
Actual: (3) reloads every namespace it can find
Second reload (5) and all reloads after that work as expected, no change is required.