Browse Source

Log info to test bin/worker.

parisminton 8 years ago
parent
commit
0b0fc007ab
2 changed files with 3 additions and 0 deletions
  1. BIN
      bin/.server.swp
  2. 3 0
      bin/worker

BIN
bin/.server.swp View File


+ 3 - 0
bin/worker View File

@@ -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
     }