Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3265

scss/css file change won't be effect by hot deploy in portlet module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1 Beta
    • Fix Version/s: 3.1
    • Component/s: Deploy
    • Labels:
      None

      Description

      1, create a portlet

      2, start the server up

      3, drop and down the portlet to server

      4. add the css propertis in portlet class:
      "com.liferay.portlet.css-class-wrapper=some-test-css-wrapper",
      "com.liferay.portlet.header-portlet-css=/css/main.css"

      5, add the scss file under

      /src/main/resources/META-INF/resources/css/main.scss 

      and the content:

      .some-test-css-wrapper .test-field {
      color: green;
      }

      6, change the view.jsp to:

      <%@ include file="/init.jsp" %>

      <div class="test-field">test css</div>

      7, make some changes in main.scss:

      .some-test-css-wrapper .test-field {
      color: red;
      }

       

      the color won't be changed, it will be changed after re-start server

        Attachments

          Activity

            People

            Assignee:
            simon.jiang Simon Jiang
            Reporter:
            terry.jia Terry Jia (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 49 weeks, 2 days ago

                Packages

                Version Package
                3.1