openMF / web-self-service-app

Web app for clients to access and directly interact with their own accounts using Apache Fineract Self-Service APIs
http://openmf.github.io/web-self-service-app/
MIT License
33 stars 106 forks source link

Users activity interferes with other users activity. #41

Open nikpawar89 opened 7 years ago

nikpawar89 commented 7 years ago

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 commented 7 years ago

Are you using gulp serve to deploy on the server?

nikpawar89 commented 7 years ago

yes

botraunak commented 7 years ago

@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 commented 7 years ago

cool! looking forward for it.

nikpawar89 commented 7 years ago

@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?