Skip to content

Hot swap everything

YukkuriC edited this page Sep 5, 2026 · 2 revisions
  • everything, simple as /kjs reload startup-scripts
  • how: JS contents live inside mutable boxes / entries registered in vanilla registries; on reload, new instances swap the inner reference in-place, so every existing reference (even saved iotas) picks up new behaviors instantly
  • covers: actions (entry action & prototype replaced in-place), special handlers, iota types
  • not for those haven't created on startup, but it's possible to match later-created pattern actions using a special handler :3

Clone this wiki locally