Skip to content

Custom LESS should be validated prior to course build #1830

@taylortom

Description

@taylortom

Expected Behaviour

It would be nice if we could validate the custom LESS prior to building a course, and therefore give the user a useful error.

I don't think it makes sense to try and catch this during the course build process later on, as it'd need some modification of the framework's grunt process.

Actual Behaviour

You're able to save the invalid LESS, and are then shown a generic error when you later try to build the course.

Steps to Reproduce

  1. Add invalid LESS to Project settings > Custom LESS
  2. Save
  3. Attempt to preview

Metadata

Metadata

Assignees

Labels

S: mergedCompleted, reviewed, and merged issuesT: enhancementAdding additional functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions