how to refresh javascript

21 views
Skip to first unread message

Omar Sefiani

unread,
Apr 13, 2017, 9:13:30 AM4/13/17
to General Open edX discussion
Hello,

I try to update a javascript file in edx/lms/static/js and i don't have a result in browser although i restart edx app.

can you help me please?

Thanks.

Andy Armstrong

unread,
Apr 13, 2017, 3:02:30 PM4/13/17
to edx-...@googlegroups.com
Hi Omar,

On devstack, you should be able to refresh your page in the browser and the updates will be picked up as there is no caching. For full stack/production, you need to use the update_assets command to regenerate all the static assets into the correct directory to be served up by Django:


In general, you should use devstack when making changes because it is a much quicker turnaround for development. Once your changes are working locally, you can then deploy them to your production environment.

I hope this helps.

 - Andy

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/63ef6152-1caf-4a4e-8cd0-cf6f0c6b81c4%40googlegroups.com.



--

Andy Armstrong

edX | UI Architect  | an...@edx.org  

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566

Omar Sefiani

unread,
Apr 14, 2017, 2:54:40 AM4/14/17
to General Open edX discussion
Thanks a lot Andy, i update all assets after execute paver command :

   

paver update_assets lms --settings dev

Reply all
Reply to author
Forward
0 new messages