Magikcraft / product-board

Release Notes for Magikcraft - what's new and noteworthy. Also: open issues or feature requests here.
https://www.magikcraft.io
1 stars 0 forks source link

Package.json in Play App takes up to one minute to refresh #22

Closed jwulf closed 6 years ago

jwulf commented 7 years ago

Behaviour When the user's package.json file is updated from the server via /npm install --save, it can take up to a minute for the view in the Play App to update to reflect the change.

Cause: The app is not subscribed to the user, and polls every 60 seconds for updates.

jwulf commented 7 years ago

From @triyuga in Slack:

"The only thing to be aware of is that it takes a little time for the UI packageJson editor to update. Up to a min for the user one, and requires refresh, and refresh required at the server level

The UI is not subscribed to the User - it does a fetch every min, and the servers poll every 3 secs - but the ACE editor does not update for some reason, hence need a refresh."