luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
747 stars 305 forks source link

Refactoring dev server functions #231

Closed alxblog closed 2 years ago

alxblog commented 2 years ago

First thing first, sorry for messy "reverting" commits.

Just functions refactoring for more readability 🤓. And add .nvmrc file to avoid "concurrently" errors while running npm run dev with newer Node version.

✌️

luc-github commented 2 years ago

Interresting which newer version of node are you refering ? I have recently updated to latest LTS 16.14.2 and do not have any issue

luc-github commented 2 years ago

I will update theformatFileSizeToString helper accordingly - thank you

Yes I know I do not use reduce as much as I should do ...