@ -812,7 +812,9 @@ void InitFs(Handle<Object> target) {
stats_constructor_template = Persistent<FunctionTemplate>::New(stat_templ);
target->Set(String::NewSymbol("Stats"),
stats_constructor_template->GetFunction());
#ifdef __POSIX__
StatWatcher::Initialize(target);
#endif // __POSIX__
File::Initialize(target);
}
@ -1,3 +1,5 @@
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
#include <node_stat_watcher.h>
@ -111,3 +113,5 @@ void StatWatcher::Stop () {
} // namespace node