PartMan7 / PartBotter

Successor to PartBot. Old repository: https://github.com/PartMan7/PartBot
MIT License
1 stars 1 forks source link

Hot Module Reloading #6

Open PartMan7 opened 10 months ago

PartMan7 commented 10 months ago

Rough plan: make ts-node compile to using require-based CommonJS syntax, then leverage the exposed require.cache object to force cache reloads

Once HMR is integrated, finish Sentinel.

Note: Make sure to kill children to avoid creating unclearable trash

PartMan7 commented 10 months ago

HMR added in ef471d87f77fee7082f54d622ea8c7a5492450ca

PartMan7 commented 1 month ago

Debounced command HMR added in 12159f29d23d7f0b1882b6892b4c7d7cb7fbbc20