fix `spm doc watch` crash when has files like `sea-modules/.DS_Store`
code cleanup
Merge branch 'master' of https://github.com/spmjs/spm