brunch / less-brunch

Adds LESS support to Brunch
14 stars 18 forks source link

are you sure you need to look for dependencies? #4

Closed DallanQ closed 12 years ago

DallanQ commented 12 years ago

Since the less parser already includes the dependencies when it parses a file, it seems that getDependencies should always pass back an empty set, right? Otherwise it seems like we're parsing files twice.

paulmillr commented 12 years ago

there is no way to extract a list of dependencies in a file afaik. brunch need file path to properly recompile file.

  1. a.less depends on b.less
  2. you change b.less
  3. a.less need to be recompiled too

we're parsing files twice

yes

DallanQ commented 12 years ago

Of course (doh)