▲ | reactordev 3 days ago | |||||||
https://gist.github.com/paulmach/7271283 It’s literally a one-liner of go to create an http server, http.FileServer that points to a directory.
You shouldn’t have to use npx when the tool at hand is perfectly capable. | ||||||||
▲ | uncircle 3 days ago | parent [-] | |||||||
Why write 27 lines of Go (not one line) when you can do
And still it is a silly argument because using npx is still less effort than having to write those 27 lines when zero will do. Sure, you dislike Javascript, do whatever you want. No need for pointless pedantry. | ||||||||
|