Skip to content

Commit

Permalink
Update marker for child processes
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Aug 31, 2010
1 parent d52b703 commit 7fea3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodules.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function readModuleFile(path, uri){
}
function possibleChange(oldstat, newstat){
if(oldstat.mtime.getTime() !== newstat.mtime.getTime() && waitingOn === 0){
if(typeof process == "undefined" || !process.env._IS_CHILD_){
if(typeof process == "undefined" || !process.env._CHILD_ID_){
print("Reloading " + uri);
}
delete factories[uri];
Expand Down

0 comments on commit 7fea3c2

Please sign in to comment.