We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9ba26 commit ae8abdbCopy full SHA for ae8abdb
watch.mjs
@@ -11,7 +11,8 @@ const delay = 500
11
function buildCommand () {
12
const tasks = process.env.GIPOD_TASKS
13
const port = tasks ? tasks[0]?.env?.PORT || 8080 : 80
14
- return `./watch ${port}`
+ const switchPort = tasks ? tasks[1]?.env?.PORT || 8888 : 8888
15
+ return `./watch.sh ${port} ${switchPort}\n`
16
}
17
18
/**
watch.sh
@@ -1,3 +1,4 @@
1
cd ../aegis
2
yarn build
3
curl -s http://localhost:$1/reload
4
+curl -s http://localhost:$2/reload
0 commit comments