diff --git a/frappe/build.js b/frappe/build.js index 497afbb5a3..c290f789f9 100644 --- a/frappe/build.js +++ b/frappe/build.js @@ -49,15 +49,15 @@ function build(minify) { let socket_connection = false; function watch() { + http.listen(file_watcher_port, function () { + console.log('file watching on *:', file_watcher_port); + }); + if (process.env.CI) { // don't watch inside CI return; } - http.listen(file_watcher_port, function () { - console.log('file watching on *:', file_watcher_port); - }); - compile_less().then(() => { build(); watch_less(function (filename) {