Revert "Avoid minimatch throw exception when watchIgnorePatterns is array with custom function perperty"

This reverts commit 284e1186d73bb86f859d892f20f66a4a831cccc0.