1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-06 02:23:00 +00:00

Add more colour to command line output

This commit is contained in:
Jermolene
2017-09-04 14:55:12 +01:00
parent 50b0004481
commit 51b1ead5c9
5 changed files with 41 additions and 7 deletions

View File

@@ -300,8 +300,8 @@ Command.prototype.execute = function() {
pathprefix: pathprefix
});
this.server.listen(port,host);
console.log("Serving on " + host + ":" + port);
console.log("(press ctrl-C to exit)");
$tw.utils.log("Serving on " + host + ":" + port,"brown/orange");
$tw.utils.log("(press ctrl-C to exit)","red");
// Warn if required plugins are missing
if(!$tw.wiki.getTiddler("$:/plugins/tiddlywiki/tiddlyweb") || !$tw.wiki.getTiddler("$:/plugins/tiddlywiki/filesystem")) {
$tw.utils.warning("Warning: Plugins required for client-server operation (\"tiddlywiki/filesystem\" and \"tiddlywiki/tiddlyweb\") are missing from tiddlywiki.info file");