Custom javascript and css is not executing if the user is accessing prodigy when all tasks are already complete

"global_css": (CWD / "prodigy.css").read_text(),
"javascript": (CWD / "logout.js").read_text(),

Now, if I save and refresh the screen, the javascript and global css are not being applied.

I think we are loading the javascript on component did mount in bundle.js, Is there a way to execute custom javascript and css always?

this breakpoint is not executing on loading prodigy when all tasks are submitted

Hi @kamalakannan_kumar,

Thank you for a detailed report and debugging info. This actually an edge case we haven't bumped into so far and it, of course, it should be the case that custom css/js is loaded at all times while the server is running.
We'll work on it in the next days and will update you as soon as we have the solution out.

Hi @kamalakannan_kumar,

@ines has just released Prodigy 1.18.a0 that includes the fixes to custom JS/CSS loading as well as two new events prodigyload that fires after app is mounted and custom scripts (JS, CSS) are loaded
add prodigysave event that fires on manual save.
It also has window.prodigy.save exposed so you can access the save endpoint for JS.
I believe you've got an email notification but wanted to share here as well in case it's useful for anyone else :slight_smile: