title: Watch LESS file with multiple imports, only compile single file
body: <p>I'm trying to find a good solution to watch a single LESS file with a bunch of imports for changes (including changes in the imported files, but only compiling the main file).</p>
  
  <p>I've split my LESS into separate files as "modules" to keep it little bit more manageable and the main LESS file is just a bunch of imports. However every solution I've looked up for watching for changes instead of having to compile manually every time, either compiles every LESS file in the directory or doesn't recognize changes in the imported files.</p>
  
  <p>So I'm looking for a solution that could watch changes in all LESS files, but in case of changes would only compile the main LESS file. If someone has done something like this before, it would help me a lot instead of having to make something from scratch.</p>
  
  <p><strong>Update:</strong>
  I found this <a href="https://github.com/jonycheung/Dead-Simple-LESS-Watch-Compiler" rel="nofollow">https://github.com/jonycheung/Dead-Simple-LESS-Watch-Compiler</a>. By default it checks and compiles every less file in a directory. Was pretty simple to modify to watch all less files and compile only the main file when changes are detected.</p>