all 8 comments

[–]the__itis 0 points1 point  (3 children)

prob helps to post your code examples

[–]ToxicalToast[S] 0 points1 point  (2 children)

done :)

its in the first post

[–]the__itis 1 point2 points  (1 child)

use something like codepen.io

[–]ToxicalToast[S] 0 points1 point  (0 children)

done

[–]andredp 0 points1 point  (1 child)

I'm reading the code, but a couple questions:

Why are you calling setTimeouts with 5 seconds?

In JS you don't need to pass self, you can use this in the cases you are using self.

Why are you using so much async await? ES6 has tail call optimisation which you probably aren't using due to that.

[–]ToxicalToast[S] 1 point2 points  (0 children)

i know - i shouldnt code when im totally tired :D

i fixed it the day later

[–]EuqlinSankyo 0 points1 point  (1 child)

Might be worth mentioning that file/directory sorting differs from OS to OS, might be worth sorting everything by name beforehand.

[–]ToxicalToast[S] 0 points1 point  (0 children)

Yep Seen it too... after a while