watch file & dir if both are set