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

Users activity interferes with other users activity. #41

Open
nikpawar89 opened this issue Oct 7, 2017 · 5 comments
Open

Users activity interferes with other users activity. #41

nikpawar89 opened this issue Oct 7, 2017 · 5 comments

Comments

@nikpawar89
Copy link

After the app is deployed on the server and accessed by multiple users, the activity of one user can be seen by other.
Say, there are two users who have opened web self service app, if one user scrolls the page, other users page is also scrolled !!

@botraunak
Copy link
Collaborator

Are you using gulp serve to deploy on the server?

@nikpawar89
Copy link
Author

yes

@botraunak
Copy link
Collaborator

botraunak commented Oct 7, 2017

@nikpawar89 that uses browser sync that's why the actions are synced. We soon will have
build scripts to deploy it. I'm working on getting it merged :)
Ref: https://github.com/botraunak/web-self-service-app/pull/22/files
After this is merged here on the main repository, this will be resolved.

@nikpawar89
Copy link
Author

cool! looking forward for it.

@nikpawar89
Copy link
Author

@botraunak we were able to work around the subjected issue by disabling the ghostMode in browserSync init.

browserSync.instance = browserSync.init(files, {
startPath: '/',
ghostMode:false, <--------------ghost mode disabled ,i didn't care about its any another occurence
server: {
baseDir: baseDir,
middleware: middleware,
routes: routes
},
browser: browser
});

However, I was quite curious to know what approach are you taking to build and deploy the app for production build. Are you planning to do something like build war files?

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

No branches or pull requests

3 participants