rootDir option renamed to cwd.
Documentation.