Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

They eventually fixed it but grunt once upon a time used a glob implementation that could not short circuit on wildcards in ignore patterns. So I caught it scanning the node-modules directory and then dropping every file it found because it matched on “node_modules/**”. Builds got a lot faster when I pushed that update out.

There’s a lot of stupid ways to implement glob and only a couple of smart ones.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: