-
Notifications
You must be signed in to change notification settings - Fork 25
Didact tutorial doesn't reload when reloading VS Code window #133
Comments
Can you provide a bit more of a reproducible case? I definitely see that the stylesheet isn't loaded properly when I do this on a "registered" tutorial. Are you trying this with a preview? i.e. you have a didact file you're editing, you open a preview window (Open preview Ctrl+Shift+V) Just trying to come up with an accurate set of reproduction steps @alexweininger Thanks in advance! |
That's fine. I'm just not sure how you're "reloading" the tutorial. Obviously it's a registered tutorial if you're going from the view. What command are you then using to reload it? |
I am reloading the VS Code window. I'm doing this by going to the command pallet (F1) and then typing "Reload Window" and selecting the "Developer: Reload Window" item from the item picker. |
Interesting. I'll see if I can duplicate. |
@alexweininger I am unable to reproduce here with the Didact examples that are registered. Could it be something local? What version of vscode are you using? Insiders? Or the current public one? |
Hmm. I actually think it's only happening when I start the tutorial via our code. like so:
I am on the current VS Code Insiders build. |
We try to stick with the latest public build (for stability issues) but I will give that a shot here -- currently updating to 1.46.1 and will see if I can dupe. |
I am unable to duplicate it locally with 1.46.1... I created a new command...
And exposed it via package.json
And you can see in the gif that I am calling my new command and then calling the Reload Window command. Is there something else in your workspace conflicting somehow? Something that contributes something for markdown? Or some change in the insiders build that's messing things up? |
Also note that I'm on a variation of Ubuntu linux, not Windows, so that may also be a contributing factor. I'd be curious to see what happens when you switch to the stable version of VS Code however?? |
@bfitzpat Testing on stable, and I'm not getting the bug anymore. I've also had this bug on Mac and Windows (Insiders) |
At least it's consistent across all Insiders builds. :) (I know, small consolation.) I wonder what's changed that's causing issues? |
It seems like it could be an issue with how didact is caching? |
@bfitzpat A teammate of mine informed me that the VS Code team was having issues with webviews on the Insiders release today. (they broke something). So if our problem isn't fixed tomorrow or the next day then I think we should re-investigate. Here is one of the related issues: |
Sounds good! |
@alexweininger - going to consider this closed unless I hear otherwise. Feel free to re-open if it's still a problem. |
Repro steps:
Expected behavior:
The didact tutorial resumes and is displayed
Actual behavior:
Blank webview:
The text was updated successfully, but these errors were encountered: