改名
This commit is contained in:
@@ -272,7 +272,7 @@ class ServerInotify extends Process
|
|||||||
{
|
{
|
||||||
//目录不存在
|
//目录不存在
|
||||||
if (!is_dir($dir)) {
|
if (!is_dir($dir)) {
|
||||||
throw new Exception("[$dir] is not a directory.");
|
return $this->application->addError("[$dir] is not a directory.");
|
||||||
}
|
}
|
||||||
//避免重复监听
|
//避免重复监听
|
||||||
if (isset($this->watchFiles[$dir])) {
|
if (isset($this->watchFiles[$dir])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user