44 ms·
I've recently read about worktrees and currently trying to incorporate it in my work routine. For NodeJS applications, it seems we need to create a soft link to
by v7engine 3y ago
I've recently read about worktrees and currently trying to incorporate it in my work routine. For NodeJS applications, it seems we need to create a soft link to point to the node_modules folder in "main" worktree in all worktrees. Otherwise we need to do a npm install in each of the worktree, and knowing how big the node_modules folder can be, a lot of disk space and time is wasted.