src/package/Services/Watcher.php
protected function isConfig($path)
    {
        if ($this->config()->isConfigFile($path)) {
            $this->config()->invalidateConfig();

            $this->loader->loadEverything();

            return true;
        }

        return false;
    }
protected function isConfig($path)
    {
        if ($this->config()->isConfigFile($path)) {
            $this->config()->invalidateConfig();

            $this->loader->loadEverything();

            return true;
        }

        return false;
    }
protected function isConfig ( $ path ) { if ( $ this -> config ( ) -> isConfigFile ( $ path ) ) { $ this -> config ( ) -> invalidateConfig ( ) ; $ this -> loader -> loadEverything ( ) ; return true ; } return false ; }
Check if the changed file is the config file and reload.

@param $path

@return bool
Check if the changed file is the config file and reload .