wbyoung / avn

Automatic Version Switching for Node
MIT License
1.14k stars 54 forks source link

avn keeps walking directories back even if it finds a .nvmrc #22

Closed aaronjensen closed 9 years ago

aaronjensen commented 9 years ago

If a parent directory has a .nvmrc and a child dir does too, avn will run both, starting w/ the child first.

ljharb commented 9 years ago

nvm's algorithm is indeed to stop once it finds an nvmrc

wbyoung commented 9 years ago

Interesting. I'll test that out, but it's certainly a surprise.

aaronjensen commented 9 years ago

Ugh, this too was related to that cd ..;1, sorry for wasting your time :disappointed:

wbyoung commented 9 years ago

@aaronjensen thanks for the update & glad to hear you got it working.