PartMan7 / PartBotter

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

Hot Module Reloading #6

Open PartMan7 opened 8 months ago

PartMan7 commented 8 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 8 months ago

HMR added in ef471d87f77fee7082f54d622ea8c7a5492450ca