refactor: hmr
This commit is contained in:
parent
6249effb69
commit
a72a650e60
|
@ -7,7 +7,7 @@ export {default as fullEntity} from './full-entity';
|
|||
|
||||
export const hooks = {
|
||||
'@avocado/resource.resources': Flecks.provide(require.context('./resources', false, /\.js$/)),
|
||||
'@flecks/core.hmr.gathered': (Class, hook) => {
|
||||
'@flecks/core.hmr.gathered.class': (Class, hook) => {
|
||||
if ('@avocado/traits.traits' === hook) {
|
||||
const {type} = Class;
|
||||
const it = hotEntities.values();
|
||||
|
|
Loading…
Reference in New Issue
Block a user