src/package/Services/Loader.php
public function addToWatchFolders($path, $watch_folders)
    {
        collect($watch_folders)->each(function ($folder) use ($path) {
            $this->watchFolders[] = !file_exists($new = make_path([$path, $folder])) && file_exists($folder)
                ? $folder
                : $new;
        });
    }
public function addToWatchFolders($path, $watch_folders)
    {
        collect($watch_folders)->each(function ($folder) use ($path) {
            $this->watchFolders[] = !file_exists($new = make_path([$path, $folder])) && file_exists($folder)
                ? $folder
                : $new;
        });
    }
public function addToWatchFolders ( $ path , $ watch_folders ) { collect ( $ watch_folders ) -> each ( function ( $ folder ) use ( $ path ) { $ this -> watchFolders [ ] = ! file_exists ( $ new = make_path ( [ $ path , $ folder ] ) ) && file_exists ( $ folder ) ? $ folder : $ new ; } ) ; }
Add folders to the watch list.

@param $path
@param $watch_folders
Add folders to the watch list .