diff --git a/packages/strapi/lib/Strapi.js b/packages/strapi/lib/Strapi.js index 63f35367e0..5a69c31ea9 100755 --- a/packages/strapi/lib/Strapi.js +++ b/packages/strapi/lib/Strapi.js @@ -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; } });