Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1109

Hot reload CSS/LESS stylesheets during gwt:codeserver

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1.Final
    • Fix Version/s: None
    • Component/s: ErraiUI
    • Labels:
      None

      Description

      When running an application with

      gwt:codeserver
      

      Errai generates intermediate classes to be compiled by GWT, I'm particularly refering to the fragment generated at :

      org.jboss.errai.ui.rebind.TemplateCodeDecorator#generateTemplatedInitialization:258
      

      It compiles the stylesheet into a string that will appear inside the intermediate class, which in turn will be passed to the StyleInjector at runtime.

      It would be really great if these stylesheets could be recompiled/reloaded during development, now the only option I have found to reload styles is to delete the gwt target directory and restart the codeserver, which is really time consuming when you want to adjust styles during development.

      P.S. I recently started using Errai and I want to say it is really awesome, keep up the good work !

        Attachments

          Activity

            People

            Assignee:
            mbarkley_jira Max Barkley (Inactive)
            Reporter:
            george.trudeau George Trudeau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: