electron-userland / electron-compile

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

Sass Does not recompile in vue template #301

Open dennisc9 opened 6 years ago

dennisc9 commented 6 years ago

When i have a linked scss file as so:

<style lang="scss">
@import "./sass/app";
</style>

Any changes to the .scss file do not automatically recompile, unless there is a change to the .vue file. I thought it was just having the enableLiveReload() that wasn't capturing the new scss changes, but in fact even on a complete recompile my scss file is not updated unless there is a change to the .vue file.

Tenrys commented 6 years ago

There is a similar issue regarding .jade files. e.g. I have layout.pug and index.pug, I use layout.pug in index.pug and load index.pug: works. I make a change to layout.pug only, and reload index.pug: no changes until I update index.pug.

justintaddei commented 5 years ago

Same issue except it's only with Sass. If I link to the .scss in my index.html:

<link rel="stylesheet" href="/path/to/main.scss">

and import another .scss file from main.scss:

@import "./buttons";

The styles on the page only update if I make a change to main.scss