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 ae8abdb commit abdecb7Copy full SHA for abdecb7
watch.mjs
@@ -9,10 +9,10 @@ const dir = './src'
9
const delay = 500
10
11
function buildCommand () {
12
- const tasks = process.env.GIPOD_TASKS
+ const tasks = JSON.parse(process.env.GIPOD_TASKS)
13
const port = tasks ? tasks[0]?.env?.PORT || 8080 : 80
14
const switchPort = tasks ? tasks[1]?.env?.PORT || 8888 : 8888
15
- return `./watch.sh ${port} ${switchPort}\n`
+ return `./watch.sh ${port} ${switchPort}`
16
}
17
18
/**
0 commit comments