Closed trentfridey closed 3 years ago
Hmm, I'm sorry you're running into this issue! I just tried to repro it and I couldn't, so I'm trying to think about what might be going on 🤔
Which template did you select when you created the swing? Maybe there's an issue with one of them, and I'd love to make sure I'm investigating the exact flow you used.
Also, could you try opening the VS Code dev console (Help -> Toggle Developer Tools) and see if there are any errors after you type in the HTML file with a swing open? Once you open the console, clear it, so that you can narrow down the messages to just those that are the result of typing.
Ok, so I did New Swing > Basic HTML-Only, and I got a warning:
[Extension Host] [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ObservableObject@1.activeSwing
Here's the stack trace:
I didn't have any other warnings come up when doing this
I haven't been able to repro this issue in macOS/Linux unfortunately, so I'm wondering if it's a Windows-specific issue. I'm going to install Parallels on my macOS tonight, so I can try to repro/investigate this further. Stay tuned for updates, and apologies again for the issue here!
Actually, one other question: could you share which other extensions you have installed? This may be an interop problem with another extension, and I'd love to be able to narrow that down. Thanks!
Here's the list of the extension installed on the VSCode instance on Windows:
I tested this extension on my other machine, running Linux, and did not encounter this bug
Alright I was able to repro the issue, and as assumed, it's a Windows-specific path problem :/ I'll ship a fix for it tonight 👍
I just published an update to the marketplace that fixes this issue, along with a couple other that I found on Windows. Let me know if you run into any issues, and thanks again for the help in tracking this down!
Hi, thanks for creating this extension! I've just added the latest version 0.0.5 to my local VSCode, and it does not seem to update the preview upon editing.
Steps to reproduce:
index.html
I also noted that it doesn't update the preview on saving. However, I was able to get the preview to update by changing the layout setting by selecting 'Change Layout' and then selecting any layout from the dropdown.
If it helps, here's the details about my setup:
Version: 1.52.1 (system setup) Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523 Date: 2020-12-16T16:34:46.910Z Electron: 9.3.5 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19041
The extension settings are set to the defaults.
Let me know if there is anything else you'd need from me to debug this. Thanks again, this extension looks great overall.