Closed germanrio closed 11 years ago
needs rebasing
Rebase done.
huh, still cannot merge this with master
, there are merge conflicts
I'll check
I hope, this is the correct one, for me this change is a fast forward merge to the actual master.
ah sorry, forgot about this. this requires more general implementation in brunch that will auto-detect ALL deps
@paulmillr can you be a little more specific about this? I would really like to get this integrated into stylus-brunch proper so that I can stop using my fork, and the latest version of stylus-brunch does not accommodate the changes that are in this pull request.
@skevy this affects all brunch plugins, right? So, why not make a general solution for all brunch plugins that will make the patch unneeded?
Usually when using stylus, there is a main file e.g.
app.styl
that imports another files like_header.styl
,_footer.styl
,... These two files are dependencies of the former one, so when one of this files changes, brunch watch recompileapp.styl
.The problem comes when one of this dependencies has another dependency. For example, imagine that
_header.styl
imports_menu.styl
. In this case, if_menu.styl
changes,app.styl
is not recompiled by brunch watch.This only happens with dependencies which are ignored by brunch, this is, the files starting with
_
. But this is the quite usual, that's why I've made this request that solves this problem.