+
Skip to content

Stop daemon execution if prep fails #106

@frederikhors

Description

@frederikhors

I have this simple modd.conf:

**/*.go
{
  prep: go build ./app
  daemon: ./app
}

It works amazing.

But sometimes if I change a .go file and it couldn't build (because there is an error in the code) and it exit with error the daemon is still up and running.

Is there a way to kill daemon when prep starts and to stop execution of the entire block if that prep (or others after it) fails?

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载