support ignore dir
support restart