ember-auto-import icon indicating copy to clipboard operation
ember-auto-import copied to clipboard

Dependency rebuilds not working

Open ef4 opened this issue 3 years ago • 2 comments

The newer caching in webpack has defeated our watchDependencies option. We still invoke a rebuild, but webpack caches the old code.

You can workaround by setting cache: false in the webpack config, but this may have a negative impact on performance. We should look for a more fine-grained setting that would only impact the packages that are listed in watchDependencies.

ef4 avatar Mar 22 '22 03:03 ef4

is this maybe why my v2 addon consumed by a v1-addon in local dev in a monorepo has stale assets in the build no matter how many restarts etc. I do?

runspired avatar Oct 15 '22 07:10 runspired

just hit this again when updating a dependency via pnpm patch :( at least its a rare enough operation

runspired avatar Feb 16 '23 00:02 runspired