Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0

Force reload of hard disk content


6 answers to this question

Recommended Posts

  • 0

I can confirm that at least since 1.2.3, the unbuffered config setting works exactly as advertised. The only case where updating files doesn't seem to have effect immediately is with libs, which are buffered not by the mod but by the package api. A reboot will reload all libs, or you can add this to the top of the program you're testing the lib with to force the api to reload each time:

--discard the loaded version
--require will now search for and reload it
:edit: note that if loading the API sets up event listeners, like several of the built-in OS libraries do, then you should just reboot, as you'll end up with multiple versions of the lib actively in memory and running, which can cause all manner of undesired side-effects.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.