Last active
November 30, 2016 13:42
-
-
Save j-n-c/f86a83765f965fc53827e821d9d848cb to your computer and use it in GitHub Desktop.
Command ionic resources does not regenerate data (rather gets it from cache)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If command "ionic resources" does not generate new data (icons, etc) but instead reports that it is getting data from cache: | |
| Ionic icon and splash screen resources generator | |
| icon android drawable-ldpi-icon.png (36x36) from cache | |
| icon android drawable-mdpi-icon.png (48x48) from cache | |
| icon android drawable-hdpi-icon.png (72x72) from cache | |
| icon android drawable-xhdpi-icon.png (96x96) from cache | |
| icon android drawable-xxhdpi-icon.png (144x144) from cache | |
| icon android drawable-xxxhdpi-icon.png (192x192) from cache | |
| splash android drawable-land-ldpi-screen.png (320x240) from cache | |
| splash android drawable-land-mdpi-screen.png (480x320) from cache | |
| splash android drawable-land-hdpi-screen.png (800x480) from cache | |
| splash android drawable-land-xhdpi-screen.png (1280x720) from cache | |
| splash android drawable-land-xxhdpi-screen.png (1600x960) from cache | |
| splash android drawable-land-xxxhdpi-screen.png (1920x1280) from cache | |
| Get the folder where ionic is installed: | |
| which ionic | |
| The result should be something like: | |
| <some_folder_path>/bin/ionic | |
| Go to <some_folder_path>: | |
| cd <some_folder_path> | |
| and from ther go to lib/node_modules/ionic/node_modules/ionic-app-lib/lib | |
| cd lib/node_modules/ionic/node_modules/ionic-app-lib/lib | |
| Open the 'resources.js" file in 'nano' and change the 'cacheImages' setting from 'true' to 'false' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment