# 让网页更新器不再令人害怕

**URL:** https://meta.discourse.org/t/make-the-web-updater-less-scary/101730
**Category:** Feature
**Created:** [2018 年11 月 10 日 12:49 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730 "2018-11-10T12:49:12Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2018 年11 月 10 日 12:49 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/1 "2018-11-10T12:49:12Z")

</div>

Leaving this in uncategorized as I have mixed feelings if it belongs to feature request or support!

Currently, we see this in the update log:

```
********************************************************
 ***Please be patient, next steps might take a while***  ********************************************************
 Cycling Unicorn, to free up memory Restarting unicorn pid: 20656 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Waiting for Unicorn to reload 
Stopping 3 Unicorn worker(s), to free up memory 

```

This sometimes looks scary (giving the impression that update is either gone wrong or is looping. can it be made to something more convincing e.g.

```
Waiting for Unicorn to reload . . . . . . . . . .

```

or

```
Waiting for Unicorn to reload 50%

```

Which IMO looks like something is actually happening!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年11 月 11 日 21:50 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/3 "2018-11-11T21:50:02Z")

</div>

Yes this has bugged me too, I meant to mention it to @tgxworld and forgot, thanks for the reminder!

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018 年11 月 14 日 05:46 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/4 "2018-11-14T05:46:48Z")

</div>

I can’t really add percentages since we don’t know when unicorn is going to complete reloading. Therefore, I went with the dots 🙂

 ![Screenshot%20from%202018-11-14%2013-45-33](https://global.discourse-cdn.com/meta/original/3X/1/b/1b96102d3478eecec4e2694128ab20899bb6bcf3.png)

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2018 年11 月 14 日 06:02 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/5 "2018-11-14T06:02:28Z")

</div>

Hi @tgxworld

I don’t really have an idea as so how differently this behaves compared to some shell scripts which are able to add the dots to the same lines instead of printing a new line with +1 dot but can it be made to a single line?

If that isn’t possible then this can be a simple workaround to maybe not print the same message multiple times?  
I doubt that’s gonna make it even more scary??

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年11 月 14 日 06:08 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/6 "2018-11-14T06:08:09Z")

</div>

Can’t you can just keep printing single dots till done? No need to repeat “Waiting for Unicorn to reload”, as an added bonus the computer gets to do less work cause it renders less letters to the screen.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018 年11 月 14 日 06:22 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/7 "2018-11-14T06:22:18Z")

</div>

The challenge here is that each message has to be printed on a separate line. I can instead just print the message once and then wait until unicorn reload but I worry on smaller droplets it’ll feel stuck.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2018 年11 月 14 日 06:24 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/8 "2018-11-14T06:24:25Z")

</div>

maybe then the message can be made like!

> Waiting for Unicorn or reload
> 
> Still Waiting
> 
> Still Waiting

and the frequency of messages be made every ~5 seconds or more?

or otherwise just printing a message like @sam suggested

> Waiting for unicorn to reload  
> .  
> .  
> .  
> .  
> .  
> .

should also work?

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [2018 年11 月 14 日 06:31 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/9 "2018-11-14T06:31:27Z")

</div>

I thought Sam meant to continue the dots without the text message.

> [@sam](#):
>
> Can’t you can just keep printing single dots till done? No need to repeat “Waiting for Unicorn to reload”

Which would look like this:

```plaintext
Waiting for unicorn to reload .........................
.......................................................
.......................................................
.......................................................
.........................

```

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2018 年11 月 14 日 06:32 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/10 "2018-11-14T06:32:49Z")

</div>

That sadly can’t be done as the window is just logging 1 line at a time and once logged, the line can not be modified. If that would be possible, percentage and continuous dots were both a possibility.

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [2018 年11 月 14 日 06:34 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/11 "2018-11-14T06:34:45Z")

</div>

Of course, I forgot it is logging. 😌

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2018 年11 月 17 日 10:00 UTC](https://meta.discourse.org/t/make-the-web-updater-less-scary/101730/12 "2018-11-17T10:00:05Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
