Skip to content

Commit 5b1df47

Browse files
committed
Change command from 'npm start' to 'node handler.js'
1 parent bfc12b4 commit 5b1df47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/RemoteJobs/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function job_status_redis_test(ins, outs, context, cb) {
2020
});
2121

2222
// "submit" job (start the handler process)
23-
var proc = spawn('npm', ['start', context.taskId, context.redis_url], {shell: true});
23+
var proc = spawn('node', ['handler.js', context.taskId, context.redis_url], {shell: true});
2424

2525
proc.stderr.on('data', function(data) {
2626
console.log(data.toString());

0 commit comments

Comments
 (0)