os-js / osjs-server

OS.js Server Module
https://manual.os-js.org
Other
19 stars 21 forks source link

Emit warning if no dist is available #11

Closed andersevenrud closed 5 years ago

andersevenrud commented 5 years ago

This came up during a conversation on Gitter.

It would probably be useful if the server could check the dist/ directory, and if it was not satisfied a message would appear with some suggestions of what might have gone wrong:

RossComputerGuy commented 5 years ago

So like a log file that the server checks to see if dist was correctly created?

andersevenrud commented 5 years ago

Just print to stderr if index.html or the pattern osjs.* was not found inside dist/ .

RossComputerGuy commented 5 years ago

Ah