4 ms·
You’re probably using the Angular CLI within the Windows filesystem via WSL2. This tends to be slow, because all your file accesses go through various indirecti
by Kwpolska 4y ago
You’re probably using the Angular CLI within the Windows filesystem via WSL2. This tends to be slow, because all your file accesses go through various indirection layers, and that quickly adds up when you’re dealing with thousands of small text files (as you usually are in the JS world).
There are two alternatives:
1) working directly with Windows, where Angular CLI and many other things should work just fine and with nice performance,
2) working on the Linux filesystem inside WSL2 (i.e. outside of /mnt/c/), which is a disk image (.vhdx) using ext4 mounted directly in the VM.