electron-compile icon indicating copy to clipboard operation
electron-compile copied to clipboard

Jade compile only tracks the entry point file.

Open intercaetera opened this issue 7 years ago • 4 comments

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.

intercaetera avatar Mar 22 '17 17:03 intercaetera

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?

cell2749 avatar Apr 06 '17 10:04 cell2749

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

JackHull avatar Jul 13 '17 14:07 JackHull

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.

eliseshaffer avatar Aug 10 '17 02:08 eliseshaffer

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.

cell2749 avatar Aug 10 '17 09:08 cell2749