Skip to content

Instantly share code, notes, and snippets.

@drubin
Created November 9, 2018 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drubin/d9af0fefd46bc577ca047cb44d313283 to your computer and use it in GitHub Desktop.
Save drubin/d9af0fefd46bc577ca047cb44d313283 to your computer and use it in GitHub Desktop.
Garden Demo Bug

Demo project to show recursion bug

Running this with the below command causes directories to be duplicated

garden dev 

Directory structure

    .garden
    ├── build
    │   └── recursion
    │       ├── .garden
    │       │   ├── build
    │       │   │   └── recursion
    │       │   │       ├── .garden
    │       │   │       │   ├── build
    │       │   │       │   │   └── recursion
    │       │   │       │   ├── local-config.yml
    │       │   │       │   └── logs
    │       │   │       │       ├── development.log
    │       │   │       │       └── error.log
FROM nginx:1.15.6-alpine
project:
name: recursion
environments:
- name: local
providers:
- name: local-kubernetes
module:
description: recursion bug
name: recursion
type: container
hotReload:
sync:
- target: /app
services:
- name: minimal
ports:
- name: http
containerPort: 80
ingresses:
- path: /
port: http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment