DEV Community

Discussion on: How to Setup Simple Hot-Reload on an Electron App With No External Dependencies

Collapse
 
tylerlwsmith profile image
Tyler Smith

This is really cool! I've heard that the fs.watch() can behave inconsistently across different operating systems. Have you experienced any weird behavior? I recently opted for Chokidar in one of my recent projects for that reason, but I always like dropping dependencies when I can.

Collapse
 
polluterofminds profile image
Justin Hunter

Honestly haven’t tried this on any other OS yet but I’ll be giving it a shot on my wife’s Windows machine soon and will let you know!