Eg, this really is of good use when you find yourself implementing a document watcher solution
You can make use of this API in case your use circumstances pertains to contacting esbuild’s create API a couple of times with the exact same choices. Incremental generates be effective than just normal generates due to the fact a number of the information are cached and certainly will end up being reused in case the totally new documents haven’t altered as the past make. There are currently several different caching used by new progressive create API:
Documents was kept in thoughts and they are perhaps not re-read in the document program should your file metadata has never altered as history build. Continue Reading