code: def test_look_after_trigger_restart(self) -> None:
      from watchfiles.main import Change
  
      file = self.reload_directory.joinpath("file.txt").__fspath__()
  
      call_mock = self.setup_call_mock(watcher_name="reloader")
      self.setup_watch_mock(watch_return={(Change(1), file)})
      plugin = self.make_plugin(
          ServiceReloaderPlugin, **self.plugin_kwargs
      )
      Path(file).touch()
  
      with self.assertLogs("bentoml", level=logging.WARNING) as log:
          plugin.look_after()
          call_mock.assert_called_with("restart", name="*")
          self.assertIn("ADDED", log.output[0])
  
imports: from __future__ import annotations
  import logging
  import os
  import typing
  from pathlib import Path
  from typing import TYPE_CHECKING
  from unittest import skipUnless
  from unittest.mock import patch
  import pytest
  from circus.tests.support import TestCircus
  from bentoml._internal.utils.circus.watchfilesplugin import ServiceReloaderPlugin
  from bentoml._internal.utils.pkg import source_locations
label_desc: Use image node_id 9 for calling the TestServiceReloaderPlugin obj's underlying member method code with example usage: obj.test_look_after_trigger_restart() without return types