Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Sass Does not recompile in vue template #301

Open
dennisc9 opened this issue May 19, 2018 · 2 comments
Open

Sass Does not recompile in vue template #301

dennisc9 opened this issue May 19, 2018 · 2 comments

Comments

@dennisc9
Copy link

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
Copy link

Tenrys commented May 25, 2018

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants