Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4264

Update of a .scss file imported by skin:// protocol is not take into account

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.9.4, 4.10.0
    • None
    • None
    • None
    • 4.10 M2
    • Oui

      Simple test:
      Have a skins/X/resources/scss/page.scss file which contains:

      @import "skin://resources/scss/test";
      

      Have a skins/X/resources/scss/_test.scss file which contains:

      body {
      	background-color: red !important;
      }
      

      In DEV mode, change the background-color in _test.scss file and refresh your page => update is not take into account
      We need to edit page.scss to see the modification

      Very very annoying for skin declination that edits only the SCSS imported to 1, 2, 3 or more levels.

      Clearing all caches as no effet

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Laurence Aumeunier Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: