𝕤𝕥𝕖𝕧𝕖𝟘𝟚𝟘𝟠𝟙𝟝𝟘𝟜
𝕤𝕥𝕖𝕧𝕖𝟘𝟚𝟘𝟠𝟙𝟝𝟘𝟜
Explore posts from servers
DDeno
Created by 𝕤𝕥𝕖𝕧𝕖𝟘𝟚𝟘𝟠𝟙𝟝𝟘𝟜 on 11/14/2024 in #help
how to clear import cache of an file?
hard to describe. My repo allows users to upload char. After decompression or clone from url, main.mjs under the char folder will be loaded by the repo as an entry point to provide services to user. This is the reason why I hope bun’s auto-install can load all packages. I wish char authors can use the packages they want, but bun cannot do this for now. I wish that the reloading feature will make debugging easier for char authors, it would be useful if char could be easily reloaded without restarting the entire server. And I also want to deal with the situation where the user uninstalls the char and then installs a char with the same name but different content.
8 replies
DDeno
Created by 𝕤𝕥𝕖𝕧𝕖𝟘𝟚𝟘𝟠𝟙𝟝𝟘𝟜 on 11/14/2024 in #help
how to clear import cache of an file?
For latecomers: you can clear the import cache in bun. I'm currently trying to move my repo from deno to bun, but it's not going very well. bun's auto-install function is not as powerful as deno's nodemodulesdir=auto + --allow-scripts, this is an absolute fatal blow to my repo moving plan....
8 replies
DDeno
Created by 𝕤𝕥𝕖𝕧𝕖𝟘𝟚𝟘𝟠𝟙𝟝𝟘𝟜 on 11/14/2024 in #help
how to clear import cache of an file?
can we add one in future?
8 replies