mirror of
https://github.com/strapi/strapi.git
synced 2025-10-13 09:03:25 +00:00
Merge pull request #1110 from ujal/fix-reload
Fix strapi.reload.isWatching === undefined
This commit is contained in:
commit
f46950ee4e
@ -236,8 +236,9 @@ class Strapi extends EventEmitter {
|
||||
// Special state when the reloader is disabled temporarly (see GraphQL plugin example).
|
||||
state.shouldReload = !(state.isWatching === false && value === true);
|
||||
state.isWatching = value;
|
||||
|
||||
return value;
|
||||
},
|
||||
get: () => {
|
||||
return state.isWatching;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user