> * in `node_modules/` there are always tens or even thousands of folders, 
> which I'm never happy to open it.
> 

That is indeed scary, but you'd never need to open it. Same way you never look 
at any other node_modules folder probably.

> 
> * for hot module replacement issues, sometimes we want to ignore the whole 
> `node_modules/` because of the amount of the files, 
> https://webpack.js.org/configuration/watch/#watchoptions-ignored . I don't 
> think all of us will ignore that folder, but we might do and we consider code 
> in `node_modules/` remaining the same.
> 

Given that you can specify a regexp you can just use

ignored: /node_modules\/(?!shadow-cljs)/

where it still ignores any node_modules folder except shadow-cljs. Watching 
this folder however is currently not the best idea because I was lazy and 
didn't optimize for it yet. That means that the compiler will emit all files on 
compile, not just the files that were actually recompiled/changed.

I will fix that eventually.
https://github.com/thheller/shadow-cljs/issues/9

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to