module.exports = process.platform === "linux" ?
    require("./watch-tree-unix") :
    require("./watch-tree-generic");

module.exports = process.platform === "linux" || process.platform === "darwin" ?
    require("./watch-tree-unix") :
    require("./watch-tree-generic");

Use unix fs-watch for OSX because of problems with OSX Lion
Use unix fs-watch for OSX because of problems with OSX Lion
