title: npm link multiple local (inter-dependant) modules
body: <p>I have 3 node.js modules, <code>A</code>, <code>B</code> and <code>C</code>. All of them private git repos. <code>A</code> depends on <code>B</code> depends on <code>C</code>. Git cloning <code>A</code> and doing <code>npm install</code> works like a charm.</p>
  
  <p>But while coding on module <code>A</code>, i want to work on <code>B</code> (and <code>C</code>) as well. The latter two are git cloned too. And <code>npm link ../pathto/B</code> works well.</p>
  
  <p>And as <code>B</code> depends on <code>C</code>, <code>npm link</code> took care of "installing" <code>C</code> into <code>B/node_modules/C</code>. Its a static file clone, that's being used by <code>B</code>.</p>
  
  <p>So when doing <code>npm link ../pathto/C</code>, it results in <code>A/node_modules/C</code> (being a symbolic link).</p>
  
  <p>But, and thats the problem, <code>B</code> will use its static clone of <code>C</code>, rather than what i have linked into <code>A/node_modules/C</code>.</p>
  
  <pre><code>A/
      ...
      node_modules/
          B -&gt; B/
          C -&gt; C/
  B/
      ...
      node_modules/
          C/
              ...
  C/
      ...
  </code></pre>
  
  <p>Does anyone have an idea to work around this?</p>