Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49817

Development - Watch for JS/LESS changes and compile once a file is saved

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 2.9, 3.1
    • JavaScript
    • MOODLE_29_STABLE, MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-49817-master
    • Hide

      To be tested on windows and linux.

      1. Run npm install to get updated grunt requirements
      2. Run grunt watch and change many different files (amd js, yui js, bootstrapbase .less} files and ensure they are rebuilt correctly
      3. Do things like update two files at once and ensure the same works
      4. [not applicable to windows MDL-50115] Run grunt in an amd directory and ensure it only runs the amd building on the affected files
      5. [not applicable to windows MDL-50115] Run grunt shifter in various yui directories (e.g. lib/yui/src/formautosubmit, lib/yui/src (etc) and ensure it only runs the yui building as you'd expect
      6. Try some exploriory testing of the grunt functionality and ensure it all continues to work correctly/as before
      Show
      To be tested on windows and linux. Run npm install to get updated grunt requirements Run grunt watch and change many different files (amd js, yui js, bootstrapbase .less} files and ensure they are rebuilt correctly Do things like update two files at once and ensure the same works [not applicable to windows MDL-50115] Run grunt in an amd directory and ensure it only runs the amd building on the affected files [not applicable to windows MDL-50115] Run grunt shifter in various yui directories (e.g. lib/yui/src/formautosubmit , lib/yui/src (etc) and ensure it only runs the yui building as you'd expect Try some exploriory testing of the grunt functionality and ensure it all continues to work correctly/as before

      We have grunt to build but we don't have watch, which IMO is one of its best features

            poltawski Dan Poltawski
            dmonllao David Monllaó
            Ryan Wyllie Ryan Wyllie
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.