generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

how to emit a socket event after updating a document?

Open jitesh121 opened this issue 6 years ago • 3 comments

  • [ ] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack x.x.x
Node x.x.x
npm x.x.x
Operating System OS X 10 / Windows 10 / Ubuntu 15.10 / etc
etc etc
Item Answer
Transpiler Babel / TypeScript
Markup HTML / Pug
CSS CSS / LESS / SCSS / Stylus
Router ngRoute / ui-router
Client Tests Jasmine / Mocha
DB MongoDB / SQL
Auth Y / N
etc etc

jitesh121 avatar Mar 20 '19 09:03 jitesh121

hi @jitesh121 did you figure out ?

lilian131 avatar Dec 11 '19 07:12 lilian131

yes , i figured it out @lilian131

jitesh121 avatar Dec 16 '19 05:12 jitesh121

Yes me too it does'nt send the event if we use findoneandupdate or updateone or .... it works if after findoneandupdate i use item.save again

lilian131 avatar Dec 16 '19 06:12 lilian131