Skip to content

Commit

Permalink
feat: auto-rebuilding modules & FS watching
Browse files Browse the repository at this point in the history
- Rename start command to autoreload.

- Base autoreload for a given module on its services' implied deploy
tasks (or just build, if the module doesn't define any services).

- Add version property and associated calculation methods to build &
deploy tasks, and modified getKey to incorporate versions when
appropriate.

- In connection with this change, build & deploy tasks are
now created via an async "factory" method, to ensure that the version
property for those task types has been computed before their getKey
method can be called.

- Modified TaskGraph to support inheritance/redo: If a task with the
same baseKey already already exists in the graph and is in progress
when a new task is added, the new task is set to inherit from the
in-progress task (see task-graph.ts for details).
  • Loading branch information
thsig authored and edvald committed Apr 25, 2018
1 parent 001b68d commit 8191aa8
Show file tree
Hide file tree
Showing 33 changed files with 1,635 additions and 558 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ You need to set up the following on your local machine to use garden:
* Node.js >= 8.x
* Git
* rsync
* [Watchman](https://facebook.github.io/watchman/docs/install.html)
* [Docker for Mac/Windows (edge version)](https://docs.docker.com/engine/installation/)

We recommend using Homebrew on Mac for everything except Docker.
Expand Down
2 changes: 1 addition & 1 deletion bin/bootstrap-osx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# install/update homebrew dependencies
BREW_DEPS="cmake git kubectl stern rsync ruby"
BREW_DEPS="cmake git kubectl stern rsync ruby watchman"

brew update
brew install ${BREW_DEPS}
Expand Down
Loading

0 comments on commit 8191aa8

Please sign in to comment.