:tocdepth: 3 :py:mod:`gws.server.monitor` ============================ .. py:module:: gws.server.monitor **Source code:** :source:`gws.server.monitor` Module Contents --------------- .. py:class:: Object Bases: :py:obj:`gws.ServerMonitor` File Monitor facility. .. py:attribute:: enabled :type: bool .. py:attribute:: frequency :type: int .. py:attribute:: ignore :type: list[str] .. py:attribute:: pathStats :type: dict .. py:attribute:: watchDirs :type: dict .. py:attribute:: watchFiles :type: dict .. py:method:: add_directory(path, pattern) Add a directory to monitor. :param path: Directory path. :param pattern: Regex pattern for files to watch. .. py:method:: add_file(path) Add a file to watch. :param path: File path. .. py:method:: configure() Configuration hook. .. py:method:: start() Start the monitor.