bakery/bakery.py
def run(self):
        """ Starts monitoring, onchange is called if an resource is modified.
        """
        self.modified_paths = self._diffall()
        while True:
            modified_paths = self._diffall()
            if modified_paths:
                self.modified_paths.update(modified_paths)
                self.onchange(modified_paths)
            time.sleep(0.5)
 Starts monitoring, onchange is called if an resource is modified.
        
Starts monitoring, onchange is called if an resource is modified.
Starts monitoring onchange is called if an resource is modified .
def run(self):
        self.modified_paths = self._diffall()
        while True:
            modified_paths = self._diffall()
            if modified_paths:
                self.modified_paths.update(modified_paths)
                self.onchange(modified_paths)
            time.sleep(0.5)
def run ( self ) : self . modified_paths = self . _diffall ( ) while True : modified_paths = self . _diffall ( ) if modified_paths : self . modified_paths . update ( modified_paths ) self . onchange ( modified_paths ) time . sleep ( 0.5 )
Starts monitoring, onchange is called if an resource is modified.
Starts monitoring onchange is called if an resource is modified .
""" Starts monitoring, onchange is called if an resource is modified.
        """
self