Hey folks anyone using …

less than 1 minute read

Hey folks, anyone using husky/lint-staged to run nx lint on commit? I had it set up but in my current project it’s hogging down my machine completely on each commit. It seems to get worse the bigger the project gets. Curious if somebody has an example of a good working setup in a nx workspace with about 80 projects?

Responses:

Memory or CPU?

Disk, I think

Maybe not related, but I spent a good chunk of time figuring out why node used all my memory when nx serveing an app. This article helped me figure out that i can run nx build myapp --maxWorkers=*

That’s a good pointer it might be related to that

Updated: