1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

Add debug message when less finishes processing

This commit is contained in:
Steffo 2023-05-23 15:47:37 +02:00
parent 7dc64b44cb
commit 2c4fbf10ef
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -19,6 +19,7 @@ function isLessDone() {
async function sleepUntilLessIsDone() { async function sleepUntilLessIsDone() {
while(!isLessDone()) { while(!isLessDone()) {
await new Promise(resolve => setTimeout(resolve, 100)) await new Promise(resolve => setTimeout(resolve, 100))
console.debug("[Bluelib] Less seems to be done processing.")
} }
} }