src/package/Services/Watcher.php
public function fireEvent($event, $resource, $path)
    {
        if ($this->eventWasProcessed($event, $resource, $path)) {
            return;
        }

        $this->showEventMessage($event, $path);

        if ($this->isConfig($path)) {
            return;
        }

        if ($this->firedOnlyOne($event, $path)) {
            return;
        }

        $this->loader->loadEverything();

        if ($this->queueTestSuites($path)) {
            return;
        }

        $this->dataRepository->queueAllTests();
    }
public function fireEvent($event, $resource, $path)
    {
        if ($this->eventWasProcessed($event, $resource, $path)) {
            return;
        }

        $this->showEventMessage($event, $path);

        if ($this->isConfig($path)) {
            return;
        }

        if ($this->firedOnlyOne($event, $path)) {
            return;
        }

        $this->loader->loadEverything();

        if ($this->queueTestSuites($path)) {
            return;
        }

        $this->dataRepository->queueAllTests();
    }
public function fireEvent ( $ event , $ resource , $ path ) { if ( $ this -> eventWasProcessed ( $ event , $ resource , $ path ) ) { return ; } $ this -> showEventMessage ( $ event , $ path ) ; if ( $ this -> isConfig ( $ path ) ) { return ; } if ( $ this -> firedOnlyOne ( $ event , $ path ) ) { return ; } $ this -> loader -> loadEverything ( ) ; if ( $ this -> queueTestSuites ( $ path ) ) { return ; } $ this -> dataRepository -> queueAllTests ( ) ; }
Fire file modified event.

@param $event
@param $resource
@param $path
Fire file modified event .