URL of experiment:
Description of the problem:
It has been over 24 hours since I last edited the javascript for my psychojs experiment hosted on Pavlovia but the code has not updated, as verified by looking at the Sources in the Chrome debugger. This project is over 7gb in size on Gitlab and I know that it takes a long time for changes in the resources to be reflected when running the experiment on Pavlovia. However, to my knowledge the delay in updating resources/javascript after changes in Gitlab has never taken this long. I have restarted the computer and refreshed the experiment page but still the version of the code I see on gitlab is not what pulls up in the debugger when I run the experiment from Pavlovia.
Just before updating my script I also updated a large CSV file in the resources (it contains over 12,000 lines). This change is also not reflected in Pavlovia. I am using the Web IDE in Gitlab to change my resources and javascript.
Do I just have to keep waiting? Could anyone explain why this update is taking so long to reflect in Pavlovia?
Why are you using WebIDE rather than syncing in Builder? Are you coding in jsPsych directly?
I’m coding directly in psychoJS.
I guess what initially drove me away from trying to learn builder was that I could not find a way to edit the resource array passed to psychoJS.start(). I’ve been coding for months in psychojs so it would be a nightmare to try to reverse engineer and put in the format of Builder.
It’s been about 36 hours now since I edited my resources/javascript and still no update to Pavlovia so I think my best bet is just going to be to duplicate my repository and create a new project.
Did anyone ever figure out the solution? I am having the exact same issue (I’m updating resources and js files in gitlab and they’re not showing up in pavlovia).
Why are you editing files in Gitlab directly and not via Builder?
Like the original poster, I couldn’t figure out how to modify the array passed to psychoJS.start() for each trial based on participant behavior, so I had to modify the .js directly
I’m sorry but I’m not sure what that means in real terms. Please could you give an example?