Commit 55628486 authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Exclude runner directory from file watcher

parent 980b4647
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = ab099860eabaab12f8ba42d818ec81a6 md5sum = a3e4cb7d28daa7816f04359c8aa3445b
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -7,6 +7,7 @@ parts = ...@@ -7,6 +7,7 @@ parts =
publish-connection-parameter publish-connection-parameter
slapos-repository slapos-repository
runner-link runner-link
settings.json
extends = ${monitor-template:rendered} extends = ${monitor-template:rendered}
...@@ -402,6 +403,23 @@ branch = 1.0 ...@@ -402,6 +403,23 @@ branch = 1.0
develop = true develop = true
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
[settings.json]
recipe = slapos.recipe.template:jinja2
rendered = $${directory:dot-theia}$${:_buildout_section_name_}
once = $${:rendered}
template =
inline:
{
"files.watcherExclude": {
"**/.eggs/**": true,
"**/.env/**": true,
"**/.git/**": true,
"**/node_modules/**": true,
"$${directory:runner}/**":true,
"$${directory:project}/runner/**":true
}
}
[runner-link] [runner-link]
recipe = slapos.cookbook:symbolic.link recipe = slapos.cookbook:symbolic.link
target-directory = $${directory:project} target-directory = $${directory:project}
......
...@@ -392,4 +392,4 @@ template = ...@@ -392,4 +392,4 @@ template =
output = ${buildout:directory}/instance.cfg output = ${buildout:directory}/instance.cfg
[versions] [versions]
slapos.recipe.template = 4.4 slapos.recipe.template = 4.5
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment