Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions dev/run
Original file line number Diff line number Diff line change
Expand Up @@ -631,18 +631,27 @@ config: [
name: clouseau1
domain: 127.0.0.1
}
clouseau: {
dir: dev/lib/node1/indexes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gabor's point aside for a moment, this path needs to use the ctx["devdir"] variable rather than assume 'dev/'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. On top of that, if we wanted to regenerate the configuration file for the sake of stay in sync with the contents of ctx["devdir"] that could easily overwrite the local changes. The purpose of this template is to lay down the configuration file if it does not exist, not to always keep that updated. This also showcases that ad-hoc overrides via Java properties are better suited for this scenario.

}
}
{
node: {
name: clouseau2
domain: 127.0.0.1
}
clouseau: {
dir: dev/lib/node2/indexes
}
}
{
node: {
name: clouseau3
domain: 127.0.0.1
}
clouseau: {
dir: dev/lib/node3/indexes
}
}
]
"""
Expand Down