Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multiple paths supplied to watcher #14

@vorpalvorpal

Description

@vorpalvorpal

watcher accepts a vector of paths for the path argument without error, but does not seem to monitor them:

test <- watcher::watcher(path = c(here::here("DESCRIPTION"), here::here("LICENSE")))
test$start()
test$is_running()
[1] TRUE
test$get_path()
[1] "/xxx/DESCRIPTION"
[2] "/xxx/LICENSE" 
# change `here::here("DESCRIPTION")`
0: /xxx/DESCRIPTION
# change `here::here("LICENSE")`
# No output to stdout

Either it should accept multiple paths (that would be ideal), or it should give an error if multiple paths are given.

Metadata

Metadata

Assignees

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