ソースを参照

Log info to test bin/worker.

parisminton 8 年 前
コミット
0b0fc007ab
共有2 個のファイルを変更した3 個の追加0 個の削除を含む
  1. BIN
      bin/.server.swp
  2. 3 0
      bin/worker

BIN
bin/.server.swp ファイルの表示


+ 3 - 0
bin/worker ファイルの表示

@@ -14,6 +14,8 @@ pluckJob();
14 14
 
15 15
 function pluckJob(){
16 16
 
17
+  console.log('Running');
18
+
17 19
   transports.getJob(function(err, job){
18 20
 
19 21
     if (err) {
@@ -22,6 +24,7 @@ function pluckJob(){
22 24
 
23 25
     if (job) {
24 26
 
27
+      console.log('I found a job!');
25 28
       return render(job);
26 29
 
27 30
     }