Commit 19b210f8 authored by Aral Balkan's avatar Aral Balkan

Update web server log output to include live reload of CSS

parent 2ba11290
......@@ -238,14 +238,16 @@ class Site {
} else if (url.endsWith('.ico')) {
url = `💠 ${url}`
}
else if (url.endsWith('css')) {
else if (url.endsWith('.css')) {
url = `🎨 ${url}`
} else if (url.includes('.css?v=')) {
url = `✨ Live reload (CSS) ${url}`
} else if (url === '/instant/client/bundle.js') {
url = `⚡ Live reload script load`
} else if (url.endsWith('js')) {
url = `⚡ ${url}`
} else if (url === '/instant/events') {
url = `✨ Live reload event`
url = `✨ Live reload`
} else {
url = `📄 ${url}`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment