luminus-framework / luminus-framework/luminus-template
Code reloading--everything except DB?
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 648
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
Here's something odd I noticed. I've been using the template with mongodb hook in, and it's all running fine, I've verified that I can add to and fetch from the database, etc. But while all the other namespaces happily hot-reload when I have everything running and edit the file, the db.core namespace does not: if I add a function to it, I have to restart in order to make it accessible from routes and such. Without restart I get compilation errors of the "symbol not found" variety whenever trying to call anything from db.core
Is this expected behavior?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior described for the db.core namespace in the MongoDB-hook template while editing a function and calling it from routes. Compare this with the other namespaces that hot-reload, then determine whether db.core should reload without restarting; done means the behavior is corrected or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100