reload styles only if the saved file extension ends with .css or .styl