add and lint clientonly

This commit is contained in:
Jason 2018-05-26 19:36:46 +01:00
parent 60b9a5b9da
commit b44fbc1e4f
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ module.exports = function(grunt) {
"modules/default/*.js", "modules/default/*.js",
"modules/default/*/*.js", "modules/default/*/*.js",
"serveronly/*.js", "serveronly/*.js",
"clientonly/*.js",
"*.js", "*.js",
"tests/**/*.js", "tests/**/*.js",
"!modules/default/alert/notificationFx.js", "!modules/default/alert/notificationFx.js",

View File

@ -88,7 +88,7 @@
process.stdout.write(`Client: ${err}`); process.stdout.write(`Client: ${err}`);
}); });
child.on('close', (code) => { child.on("close", (code) => {
if (code != 0) { if (code != 0) {
console.log(`There something wrong. The clientonly is not running code ${code}`); console.log(`There something wrong. The clientonly is not running code ${code}`);
} }