I am new to NX...
NX is supposed to wrap the Angular CLI and make it faster with computation caching.
This works nicely with nx build
... Builds are done almost instantly once they have been cached.
But I wonder if also nx serve
uses computation caching. I do not find much info about it.
In my own "performance tests" the serve command did not become faster with NX.
Why would NX not use computation caching for the serve command?
according to the creator, Victor. It is not possible
By default, serve doesn't create files on disk, so nothing to be cached. This is just how webpack works. But if you, use the file-server executor (https://nx.dev/latest/node/web/file-server) serve gets cached defacto.— Victor Savkin (@victorsavkin) February 3, 2021You can use file-server executor to improve this.