xiaofuzi / rollup-plugin-less

a less rollup plugin
22 stars 24 forks source link

Imports are not to be watched #2

Closed droooney closed 8 years ago

droooney commented 8 years ago

If you use this plugin with rollup-watch (I don't know if it's related to this plugin or rollup-watch) the files you import are not to be watched. For example if you have:

// main.less
@import './mixins';

body {
  .hidden();
}
// mixins.less
.hidden {
  display: none;
}

and if you change mixins.less the watch process does not reflect. Can you please look into that and tell if I should report the issue there (rollup-watch) or it's related to rollup-plugin-less?

xiaofuzi commented 8 years ago

it seems that the rollup-watch only watch the files you import directly.