Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to watch sources recursively? #35

Open
dradtke opened this issue Sep 18, 2015 · 0 comments
Open

Any way to watch sources recursively? #35

dradtke opened this issue Sep 18, 2015 · 0 comments

Comments

@dradtke
Copy link

dradtke commented Sep 18, 2015

I'm playing around with a new project, and so far I have it broken down into three main tasks:

  1. compile -- prepares frontend resources, e.g. compiling JSX to javascript and SCSS to css.
  2. build -- build the Go source code into an executable server.
  3. serve -- run the built executable to begin serving requests. Both compile and build are defined as Series dependencies.

Both compile and watch have their respective sources defined, and ideally I'd like to be able to have the following happen:

  1. If a source for compile changes, run the task again. No need to restart serve.
  2. If a source for build changes, run the task again, then re-run serve.

The changes get picked up if I run godo compile build --watch, but not if I run godo serve --watch. Is there any way to get the workflow that I'm looking for currently, or would this require additional configuration options to be implemented?

This is with the latest gopkg.in/godo.v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant