You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
When running `ionic serve` it often happens that the transpiled files become out of date. After making a change to one of the TypeScript source files, ionic serve runs, but when looking at the built JavaScript files, the new code is not present. I found that the app-scripts build process kept two file caches. One in the app-script context and one in the so called InMemoryCompilerHost. The first was updated, but the latter wasn't. Since the HybridFileSystem already uses the app-scripts context fileCache, I think it is not necassary to also have an InMemoryCompilerHost to keep the same files in memory (and not update them when they were changed). So aside from fixing the out-of-date-files issue, this also will reduce memory usage.
0 commit comments