Mercurial > pumpbridge
comparison src/app.coffee @ 21:dbe2232af20f
changed syncALONE
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Fri, 13 Jun 2014 21:21:41 +0200 |
parents | 6b3f38af3fa4 |
children | f27ddfa42e94 |
comparison
equal
deleted
inserted
replaced
20:9436298e6d78 | 21:dbe2232af20f |
---|---|
34 else | 34 else |
35 console.log 'Express server is listening | 35 console.log 'Express server is listening |
36 on address %s port %d', config.address, config.port | 36 on address %s port %d', config.address, config.port |
37 | 37 |
38 # Start Deamon! | 38 # Start Deamon! |
39 # or comment to the next hashtag after ')' and user | 39 # or comment to the next hashtag after ')' and use |
40 # Sync.sync() | 40 # Sync.sync() |
41 # or start coffee syncALONE.coffee in a different window | 41 # or start coffee syncALONE.coffee in a different window |
42 exec = require("child_process").exec | 42 exec = require("child_process").exec |
43 child = undefined | 43 child = undefined |
44 child = exec("coffee syncALONE.coffee", (error, stdout, stderr) -> | 44 child = exec("coffee syncALONE.coffee", (error, stdout, stderr) -> |