Closed gfauredumont closed 11 years ago
Why do you need to load all 3 apps?
Because I use the view one as UI reference for mine, the app-tutorial one for UX and spotify prerequisite... and of course mine to create it!
BTW, Thanks for these tutorial apps: each point is explained separately, clean and simple. It's just perfect!
You can add those apps to the sidebar, although they will be removed when you restart the client. But it will save you some value time avoiding copy-pasting the 3 uri strings.
Yes, I'm already doing that. My problem is that when working on my project, sometimes JS or CSS files are not reloaded on Spotify's "Reload App"; so I have to do it the "hard way": completely close Spotify and restart it... :(
Still having the same issue, but it made me think about it differently: I need to reload Spotify often because sometimes the reload function doesn't reload everything: the JS files aren't always up to date (it's saved on file system, but the inspector's resources panel stil shows an older version) I must admit, this is probably due to my crappy knowledge of JS :/
But maybe if the reload option could "completely destroy the loaded app" and then reload it (by storing the spotify:app:my_app
before the whole thing), I would be sure that my app is "completely" reloaded !
Note that I would probably have to click the "add to my apps" button again, but that's no big deal compared to start Spotify !!
@gfauredumont Have you disabled Javascript caching in the Inspector settings? Also, I believe that there's a slight difference between 1/ right clicking in the application window > selecting Reload application, versus 2/ using the menu Develop > Reload application.
Hi thelinmichael, Yes, I disabled javascript caching a few days ago so now reload if much more efficient, but I'm still having the issue sometimes. I've always been using the "dev" menu > "Reload application" This one is the most effective, right ?
A lot of stuff has happened in the Desktop client since the last commend on this issue, most under the hood. You can currently reload an app using 'Reload browser' or 'Reload Application'. I hope that reloading the application should be enough for what you need @gfauredumont. I'm closing this issue, but please open it again if you're still experiencing problems with this.
Thanks a lot @thelinmichael : I've been working on my app again these last weeks and haven't experienced the "uncomplete reload" I had when creating this issue so I guess it's gonna stay closed !
I'm developping my own app so:
spotify:app:my_app
spotify:app:api-tutorial
spotify:app:views-tutorial
as well !Of course the "reload app" in developper menu doesn't work all the time (but it might be my fault most of the time tough: I'm still "discovering" html5 :/ )
So I have to copy/paste these 3 strings ALL THE TIME !!!
Spotify officials, if you read this: could you allow a simple
developper_manifest.json
in the Spotify directory, listing the "default dev apps" to load ?pretty, pretty Please !!