Skip to content
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

Shared workspace doesn't refresh automatically #422

Closed
ishepard opened this issue Jul 20, 2016 · 4 comments
Closed

Shared workspace doesn't refresh automatically #422

ishepard opened this issue Jul 20, 2016 · 4 comments

Comments

@ishepard
Copy link

Hi,
I created a workspace shared with a friend and inside I put the "console-java-simple" project.

Then I modified a file (added a println), and what happened is that:

  • my friend doesn't see the file modified, but the older version
  • it he builds&runs the project he has the output of newer version!

So, I think that the problem is just refreshing the file explorer. Is there any button to do that?

@TylerJewell
Copy link
Contributor

In the project explorer, there is a little refresh button that a user can hit to see the updated changes to the tree. This will become automatic once this issue is resolve. This issue is in Che and it will allow the server to notify browsers when changes are made by outsiders - so not refresh required.

eclipse-che/che#1824

@ishepard
Copy link
Author

Thank you for your reply @TylerJewell.
However the problem still exists. That button works only if a new file is created (it refreshes only the project tree). But if I modify a file the other guy will not see the change, which could be not a problem except that when he runs the project he actually runs the newer version.

@TylerJewell
Copy link
Contributor

The refresh button refreshes the project tree. I believe you have to close the file and reopen it right now for the user to see the changes. Once the notification issue is resolved in the next couple of sprints, then the editor will be updated automatically as well.

@ishepard
Copy link
Author

Yes if I close and re-open it works. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants