I came looking for this question as well. I read here that recompilation happens when methods are at risk of being invalidated (or julia version changes). So I guess maybe a more direct question is “How do I make sure that a big project or notebook never (or rarely) has invalidated methods?”
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Personal package precompiles everytime I restart Julia (running on HPC) | 1 | 126 | April 29, 2025 | |
| How to recompile specific methods | 6 | 1177 | June 4, 2021 | |
| Repeated Precompilation in 1.9rc2 | 6 | 818 | April 20, 2023 | |
| Precompilation/recompilation - what's going on? | 3 | 647 | December 20, 2022 | |
| Everything precompiling when opening new notebook | 8 | 1040 | July 21, 2022 |