main.scss may @import _base.scss which @imports _reset.scss. Building _reset.scss will currently only go one level up and try to compile _base.scss.
When collecting files, keep a list to check for duplicate results from grep_r. Add new results and recursively search partials. Keep a list of partials searched, too, if you want to react to infinite loops.
This is the most difficult thing the plugin does. Unless this project significantly grows in size/scope, I'll leave testing to the users instead of unit tests.
main.scss
may @import_base.scss
which @imports_reset.scss
. Building_reset.scss
will currently only go one level up and try to compile_base.scss
.When collecting files, keep a list to check for duplicate results from
grep_r
. Add new results and recursively search partials. Keep a list of partials searched, too, if you want to react to infinite loops.