diff options
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index c44c7a6a5..a9232455c 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -78,6 +78,7 @@ class Command: if not hasattr(command_method, 'readonly') or False == getattr(command_method, 'readonly'): return None, "Not able to execute not readonly commands in readonly mode" try: + self.cooker.process_inotify_updates() if getattr(command_method, 'needconfig', False): self.cooker.updateCacheSync() result = command_method(self, commandline) @@ -98,6 +99,7 @@ class Command: def runAsyncCommand(self): try: + self.cooker.process_inotify_updates() if self.cooker.state in (bb.cooker.state.error, bb.cooker.state.shutdown, bb.cooker.state.forceshutdown): # updateCache will trigger a shutdown of the parser # and then raise BBHandledException triggering an exit |