Skip to content

Multiple commands per pattern #43

@abingham

Description

@abingham

I'm trying to make a save hook that first changes directories and then runs a command, but it's not clear how to do that (or if it's possible at all). I've tried this:

{
    "commands": [
      "src/elm/**/*elm : cd src/elm && elm-make Main.elm --warn --yes --output=project.js"
    ]
}

i.e. I'm trying bash syntax to change directories and the run elm-make. But as far as I can tell the elm-make is never run; I'm not sure if the cd is executed.

Is there any support for something like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions