'stylus: --watch automatically recompile the wrong file

I have, let's say, two stylus file including the some common.styl, like below:

- css/
- stylus/
   | - homepage.styl
   | - article.styl
   | - lib/
        | - common.styl

homepage.styl:

@import "lib/common.styl
// blah blah blah

article.styl:

@import "lib/common.styl
//blah blah blah

When I setup the stylus -w stylus/ -o css/ and as I modify the common.styl file, the stylus re-compiled the article.style only, the homepage.styl has been ignored.

Do you guys have any idea about this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source