themekit icon indicating copy to clipboard operation
themekit copied to clipboard

SCSS partial is "Skipped" after saving it, even if the change is major.

Open obliviga opened this issue 4 years ago • 2 comments

Describe the bug SCSS partial is skipped after saving it and a bunch of changes are made to it.

To Reproduce Steps to reproduce the behavior:

  1. Create SCSS partial
  2. Import partial into main SCSS file
  3. Make a major change like body { background-color: red }; in the partial
  4. The file is skipped:
13:17:47 [development] processing assets/style.scss.liquid
13:17:47 [development] Skipped assets/style.scss.liquid (Checksum: 8cf5eb794e0aba49ea256b9272692d94)

Expected behavior The file should not be skipped and should be updated in the theme.

Environment:

  • OS: Mac OS 11.2.1
  • Themekit version: 1.1.6 darwin/amd64
  • Editor: Visual Studio Code

Additional Notes:

  • I have to save two files (the partial and the file that imports the partial) every time I want a change to update the theme.

obliviga avatar Feb 23 '21 21:02 obliviga

Have the same issue, nothing seems to work.

Kyon147 avatar Mar 10 '21 16:03 Kyon147

Curious why you are expecting the file style.scss.liquid to change when you modify an imported partial. The only file you are editing is the partial. The compiled output that is used in your theme is generated by Shopify. I personally prefer compiling SCSS locally into a .css.liquid file and then using that in my theme.

petercampanelli avatar Apr 12 '21 00:04 petercampanelli