diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 83945c412855be..b14c3aaf2bfc83 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -624,6 +624,7 @@ cluster.setupMaster({ }); cluster.fork(); // https worker cluster.setupMaster({ + exec: 'worker.js', args: ['--use', 'http'] }); cluster.fork(); // http worker