Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch for supporting .less files #3

Open
jhafner opened this issue Apr 11, 2012 · 0 comments
Open

Watch for supporting .less files #3

jhafner opened this issue Apr 11, 2012 · 0 comments

Comments

@jhafner
Copy link

jhafner commented Apr 11, 2012

Currently, when you change a .less file that's in the css directory (/themes/core/css), Motif sees it and generates an updated .css file of the same name. However, when you modify a .less file that's not in the root css directory (but that's referenced by the main .less file) it doesn't update the main .css file.

Example:

  • /themes/core/css/template.less -> compiles to template.css when changes are detected.
    ** /themes/core/css/includes/reset.less -> @include'd at the top of template.less. Changes do not get compiled to template.css when this file is modified.

Two ideas:

  1. Have Motif watch the css directory and all subdirectories for .less files, but only recompile files in the root css directory when a change in any of them is detected.
  2. Have a Motif param that has Motif only check .less files in the root css directory, or all .less files in the root css directory or subdirectories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant