Ionicons load only when live-reload is enabled


#1

I added a pretty substantial gulp workflow which compiles my coffeescript, runs browserify, etc. One of the things it does is moves the fonts from /www/fonts to /www/assets/fonts, which I’m not sure is relevant at all, but it may be. I’ve found that now, unless I add --live-reload to the commands for ionic run and ionic emulate, the icon fonts do not load, and I get the “square of death” in their place. When I do use --live-reload it works fine.

Has anyone else experienced this? Is there a way I can see the network requests when running the emulator or on the device so I can pinpoint the issue?


#2

Turns out using absolute paths for loading was the culprit…I changed the path from /assets/fonts to assets/fonts and it’s now working.