Skip to content

add_on_mod only uses first path if more than one specified #76

@hrpatel

Description

@hrpatel

Command:

add_on_mod "build_docs" "/app/api" "/app/guide" "/app/sysadmin" &

Expected behaviour:

  • Setup watches on 3 paths

Actual behaviour:

  • Watch is only established on /app/api

Workaround:

add_on_mod "build_docs" "/app/api" &
add_on_mod "build_docs" "/app/guide" &
add_on_mod "build_docs" "/app/sysadmin" &

This bug prevents us from doing something like this:

paths=$(find /some_path ! -name dont_watch_me -depth 1 -type d)
add_on_mod "callback" "${paths}" &

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions