tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.4k stars 484 forks source link

Replace colors.js with chalk #388

Closed akx closed 3 months ago

akx commented 2 years ago

This PR replaces the colors.js dependency (which is having certain issues, see https://github.com/Marak/colors.js/issues/285) with https://github.com/chalk/chalk.

I hope I found all of the coloring invocations.

SoCuul commented 2 years ago

Unfortunately this would not work, because chalk is an ESM-only package now.

Qix- commented 2 years ago

Chalk 5 is. The PR uses chalk 4.

akx commented 2 years ago

@SoCuul I took care to use Chalk 4 here.

akx commented 3 months ago

I've moved on to using https://github.com/lomirus/live-server, so closing this as some spring cleaning of my open PRs.