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

Grunt: Make grunt watch use --force by default

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.1.10, 4.2.7, 4.3, 4.4, 4.5
    • JavaScript
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE
    • MDL-81264-main
    • Hide
      • Go to a plugin directory including some JS in amd/src
      • Run grunt watch in a console
      • Add a console.log statement to some of the js files in amd/src
      • See grunt watch run including the message "Done, but with warnings"
      Show
      Go to a plugin directory including some JS in amd/src Run grunt watch in a console Add a console.log statement to some of the js files in amd/src See grunt watch run including the message "Done, but with warnings"

      The grunt watch command is basically used for development. While developing you usually do not care about linting etc. at first, grunt watch however will fail as soon as there are eslint issues in your current code (but you do not really care). So I suggest to make grunt watch use --force by default.

            phmemmel PhMemmel
            phmemmel PhMemmel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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