-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code in terminal not updating #1641
Comments
That's indeed weird, it should sync automatically. Does your console in the devtools say anything weird? |
Hey @marcosc90 , thanks for your bug report! This might (or might not) be related to #1455 (see my comment ). Either way, this is clearly not supposed to happen, will take a look at it ASAP! |
Nothing weird, just a few errors when the page loads, but nothing else. No errors at all when saving, and even after refreshing the page, the file is completely saved, but the terminal is not updating correctly.
You're welcome. I don't know if it's related to that, don't think so, but I do have that issue too, and it doesn't bother me right now. My issue affects me directly since I'm unable to use the platform for CLI scripts. |
It's probably related, but |
Hey @marcosc90 , I can't really replicate this, has it been happening since? If so, do you have a consistent way to trigger it? |
It has happened again, but I don't have a consistent way of triggering it. Once the sandbox is is initialized again, everything is synced. So as a workaround, maybe a button to reinitialize the Sandbox can be added, or just a button to force sync. I'll update if I find a way to trigger it. |
Yeah, we will add a button that allows restarting the whole container (instead of just the devserver) soon-ish! Please buzz me as soon as this happens again, if possible; it would be nice to be able to debug it live. Thanks! |
@lbogdan It's happening right now, if you give me a way to contact you privately, I can give you the link of the sandbox (It's an unlisted one) |
@marcosc90 Sorry, I was asleep when you commented, we're probably in quite different time zones. For next time, I'm |
Closing this, as I'm pretty sure it's been resolved by #1729 . @marcosc90 feel free to reopen if it's still happening for you. |
@marcosc90 One more thing: before the sync issue happening, did you by any chance get a notification saying "10 updates in less than 2 seconds, disabling file synchronization"? |
Hi @lbogdan I have the same sync issue as @marcosc90 with the "10 updates..." notification. So I managed to reproduce the issue in minimal conditions, and got hit with the notification as soon as I tried to install packages in a subdirectory. From there on, nothing in the editor got updated the via command line. Hope this comment is useful for you ! |
@bumpewto That's because, for now, we don't support syncing that many files. We honor
|
Alright that's crystal clear, thank you for your quick answer ! |
I've been having the same exact issue with files not syncing! I've seen that there's a limit, and I did get the In my first attempt (sandbox #1), I had run I really enjoy using CSB for my React development! However, this is hindering my ability to do so. What should I do? |
I encountered this problem in the Vue 3 templates. Nodemon is installed on a parent container and will run with yarn, ignoring what's on your package.json. To good news is it will respect .gitignore, AFTER a server restart. This .gitignore managed to not trip the limiter on a
Update: I still managed to trip the limiter on a vue create |
🐛 bug report
Description of the problem
When I update the code on the editor, the code on the terminal is not updated. When creating CLI applications, it's almost impossible to work, because most of the time the changes are not synced correctly.
Is there a way to sync?
How has this issue affected you? What are you trying to accomplish?
Your Environment
The text was updated successfully, but these errors were encountered: