Skip to content

Second argument to track() should be either file or directory resource #33

Open
@kailasb10

Description

create the command in laravel 8

$watcher = new ResourceWatcher;
$watcher->track('folder.watch', 'doc_file/',FilesystemEvent::CREATE);

but when supervisor run got below error

Lurker\Exception\InvalidArgumentException
  Second argument to track() should be either file or directory resource, but got "doc_files/"

"doc_files" is the folder under storage folder

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Second argument to track() should be either file or directory resource · Issue #33 · flint/Lurker