Accept list|string as baseDir option for server