mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
32638b3a45
Prior to this change the Grunt stylelint command was too greedy when determining which files hsould be linted. This change modifies the watch command to only watch relevant files and subdirectories of each component directories. This means that unrelated CSS and SCSS files are no longer watched for changes, and has the added benefit of significantly increaseing the startup speed of grunt. Without this patch applied the watch tasks were checking for matches in the node_modules, and vendor directories.