electron-userland / electron-compile

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

Jade compile only tracks the entry point file. #208

Open intercaetera opened 7 years ago

intercaetera commented 7 years ago

Not sure if this is present with other languages, however when I'm writing Jade I usually keep several files included into the main layout file. The problem is, though, that changes in the sub-files are not tracked and Jade is not recompiled until there is a change in the layout file.

Furthermore, the change has to be something different each time because otherwise it will just return to a previous state.

cell2749 commented 7 years ago

I have the same issue. Is there a way to force recompilation of the other files from command line? Or maybe I could clear cache that holds the old views?

JackHull commented 7 years ago

Same with SASS. The file watching system just doesn't work right. Thinking about switching to a manual compiler instead of electron-compile.

eliseshaffer commented 7 years ago

I am having the same issue. Modifications to the partials aren't recompiled until the entry file is updated. Does anyone have any ideas? I'm happy to try to debug and issue a PR. But I'm new to electron/node, so it might take a while to have something PR-worthy.

cell2749 commented 7 years ago

I was working in windows and made bash script to delete a file which holds old version of the code. I don't remember where it was located and which file was it exactly, Probably something in electron appdata.