looks good, a few notes:
- (nitpicking) use
const LS = LiveServer
- make sure you check which files should trigger the callback upon modification and which shouldn’t (see my previous message)
Otherwise looks good, it could be a nice PR to LiveServer too once you’re happy with your setup