wix-incubator / stylable-integration

Integrating Stylable into your project
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

vars .st.css named import changes take affect only after restarting node #16

Open DeDuckProject opened 7 years ago

DeDuckProject commented 7 years ago

I have a dir with: theme.st.css, colors.st.css

colors.st.css:

:vars{
    primaryColor: #0074D9;
}

and theme.st.css uses it like so:

:import{
    -st-from: "./colors.st.css";
    -st-named: primaryColor;
}

and later using value(primaryColor). changes to color.st.css only take affect after running yarn start.