File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ And then:
4242var anyfetchHydrater = require (' anyfetch-hydrater' );
4343
4444var config = {
45- ' hydrater_function' : ' path/to/my/function.js'
45+ ' hydrater_function' : ' absolute/ path/to/my/function.js'
4646};
4747
4848var hydrationServer = anyfetchHydrater .createServer (config);
Original file line number Diff line number Diff line change 77 * the master process can simply kill the child and resume its normal operation.
88 * Without the sub-process isolation, we get stuck quite fast and get leaks everywhere.
99 */
10-
10+
1111var crypto = require ( 'crypto' ) ;
1212var async = require ( "async" ) ;
1313var fs = require ( 'fs' ) ;
@@ -60,6 +60,9 @@ process.on('message', function(task) {
6060 if ( task . file_path ) {
6161 fs . unlink ( path , rarity . carry ( [ changes ] , cb ) ) ;
6262 }
63+ else {
64+ cb ( null , changes ) ;
65+ }
6366 }
6467 ] ,
6568 function ( err , changes ) {
You can’t perform that action at this time.
0 commit comments