Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only read webpack/gulp manifests 1x/req even in dev
We already have logic in here to only read these once ever in prod but in dev mode we were reading the files multiple times. We purposely don’t want to cache it for the entire life of the rails process in dev mode so that if you change anything and have gulp or webpack running in watch mode, it picks up on your change. but the way it was, it would read these json files multiple times per request. I didn’t care because it was dev mode. But this should make even dev mode a little faster while still being able to handle picking up any changes between requests Change-Id: Ic0ee13df1727e998b828eec012fc2701cf5f8ab7 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/218100 Tested-by: Jenkins Tested-by: Service Cloud Jenkins <[email protected]> Reviewed-by: Clay Diffrient <[email protected]> QA-Review: Steven Burnett <[email protected]> Product-Review: Ryan Shaw <[email protected]>
- Loading branch information