Tropical Storm Pilar caused heavy rain along El Salvador's Pacific coastline and is expected to remain offshore for days.