Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing way of working #19

Open
leoj3n opened this issue Apr 7, 2017 · 2 comments
Open

Confusing way of working #19

leoj3n opened this issue Apr 7, 2017 · 2 comments

Comments

@leoj3n
Copy link
Contributor

leoj3n commented Apr 7, 2017

This threw me off:

./node_modules/bit-docs/lib/configure/node_modules/bit-docs-generate-html/site/static/build/917c51373c902dc4a003c7fd949774c5/node_modules/

As you can see, bit-docs/lib/configure/node_modules/bit-docs-generate-html has yet another nested node_modules directory... So therefore, changes made to for instance:

./node_modules/bit-docs/lib/configure/node_modules/bit-docs-prettify/prettify.less

Will not show up, because bit-docs-generate-html is downloading bit-docs-prettify into it's own node_modules directory.

This was confusing to me when trying to see changes I was making in the bit-docs-prettify that was one nested node_modules up.

Not sure if this can be avoided, but this issue will at least serve as a reminder to myself, and might help someone else who isn't seeing their changes when trying to make edits in the same naive way.

@leoj3n
Copy link
Contributor Author

leoj3n commented Apr 9, 2017

Really, this compounds the "nannying" problem that I had mentioned here:

bit-docs/bit-docs#22

Because, even if you symlink the second-level nested node_modules or use file: syntax, the remote npm package will ultimately be getting downloaded into the third-level nested build/HASH/node_modules directory.

@leoj3n
Copy link
Contributor Author

leoj3n commented Apr 9, 2017

Related: bit-docs/bit-docs#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant