electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Live reload watch temp path? #269

Open giuseppelt opened 6 years ago

giuseppelt commented 6 years ago

I enabled live reload, and whenever the app writes a png to the temp path, the livereload triggers the window refresh.

I don't now if the issue is strictly related to the temp path or png file, because I write only there.

There's something I can do to disable this? or exclude watch paths?

giuseppelt commented 6 years ago

No one can point this out? Actually, I manually hijacked the live-reload.js#L52, added logic to the variable filesWeCareAbout to filter out temp path. But I need to get this in a proper way.

nikolaisdfsd commented 6 years ago

@giuseppelt Can you please provide changes that you've made? look like I have the same issue :(