who knows
This commit is contained in:
parent
777434389f
commit
487aa4ce7e
|
|
@ -13,7 +13,7 @@ export default async function () {
|
||||||
if (/up to date/.test(out)) {
|
if (/up to date/.test(out)) {
|
||||||
return "Up to date."
|
return "Up to date."
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => process.exit(), 500)
|
setTimeout(() => process.exit(), 1000)
|
||||||
return {
|
return {
|
||||||
text: "Reloading in 3 seconds...",
|
text: "Reloading in 3 seconds...",
|
||||||
script: `setTimeout(() => (window as any).location = window.location, 3000)`
|
script: `setTimeout(() => (window as any).location = window.location, 3000)`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user