When a styl file contains an @import declaration inside a comment it will be treated as a dependency of the file as well.
This is especially problematic when the file references itself. brunch build will be compiling the same file over and over again and never end.
Example (shared.styl):
// Usage: @import 'shared' to access common constants and mixins etc...
foobar = 100px
mixin1()
...
When a styl file contains an
@import
declaration inside a comment it will be treated as a dependency of the file as well. This is especially problematic when the file references itself.brunch build
will be compiling the same file over and over again and never end.Example (shared.styl):