mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
Revert "Fix for contrast mode cache delete"
This reverts commit 80465c212f.
This commit is contained in:
@@ -731,11 +731,9 @@ export function rootReducer(state = initialState, action) {
|
||||
// Bust the webpack require cache to for a re-download of the stylesheets
|
||||
modules.forEach((i) => {
|
||||
const children = require.cache[i] ? require.cache[i].children : [];
|
||||
if (children) {
|
||||
children.forEach((c) => {
|
||||
delete require.cache[c];
|
||||
});
|
||||
}
|
||||
children.forEach((c) => {
|
||||
delete require.cache[c];
|
||||
});
|
||||
delete require.cache[i];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user