Permalink
Browse files

Update marker for child processes

  • Loading branch information...
1 parent d52b703 commit 7fea3c2f79f8e75541480c3c3a600ecf31662055 @kriszyp committed Aug 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nodules.js
View
@@ -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];

0 comments on commit 7fea3c2

Please sign in to comment.