mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
show an error when port is already in use - fixes #42
This commit is contained in:
parent
413254bfa4
commit
5ba9a47948
4 changed files with 24 additions and 2 deletions
10
server.js
10
server.js
|
|
@ -21,7 +21,15 @@ var options = {
|
|||
};
|
||||
|
||||
console.checkpoint = function (s) {
|
||||
console.log(' \033[34mbeep - \033[0m' + s);
|
||||
console.log(' \033[32mbeep - \033[0m' + s);
|
||||
}
|
||||
|
||||
console.warn = function (s) {
|
||||
console.log(' \033[33mwarn - \033[0m' + s);
|
||||
}
|
||||
|
||||
console.error = function (s) {
|
||||
console.log(' \033[31merror - \033[0m' + s);
|
||||
}
|
||||
|
||||
requirejs([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue