Sfoglia il codice sorgente

[travis] dont watch

version-14
Rushabh Mehta 7 anni fa
parent
commit
bc0453a80b
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      frappe/build.js

+ 4
- 4
frappe/build.js Vedi File

@@ -49,15 +49,15 @@ function build(minify) {
let socket_connection = false; let socket_connection = false;


function watch() { function watch() {
http.listen(file_watcher_port, function () {
console.log('file watching on *:', file_watcher_port);
});

if (process.env.CI) { if (process.env.CI) {
// don't watch inside CI // don't watch inside CI
return; return;
} }


http.listen(file_watcher_port, function () {
console.log('file watching on *:', file_watcher_port);
});

compile_less().then(() => { compile_less().then(() => {
build(); build();
watch_less(function (filename) { watch_less(function (filename) {


Caricamento…
Annulla
Salva