Ionicons appear only after i refresh the page on Ionic 3

i am using this code to create a list of items with an icon on the left. The code works some times after i run ionic serve but most of the times i need to refresh the browser to actually see the icons. From this i understand that the code works fine but the icons are not loaded until after i refresh.

   <ion-item *ngFor="let category of categories" text-wrap (click)="openCategoryPage(category)" menuClose>
        <ion-icon [name]="category.icon" item-left large></ion-icon>
        <h2>{{category.name}}</h2>  
        <p>{{category.description}}</p>
      </ion-item>

i am assuming this has to do with some issues with icons on v.3 but can’t find the solution.