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

Does not work with sails-hook-autoreload #37

Open
rvanzon opened this issue Jan 21, 2016 · 2 comments
Open

Does not work with sails-hook-autoreload #37

rvanzon opened this issue Jan 21, 2016 · 2 comments

Comments

@rvanzon
Copy link

rvanzon commented Jan 21, 2016

Hi,

I am trying to use sails-hook-validation with sails-hook-autoreload. But after code is changed, and sails-hook-autoreload reloads the controllers no validation-errors are returned (the errors array is null).
Should this work?

@lykmapipo
Copy link
Owner

@rvanzon

Does sails-hook-autoreload have ability to reload the whole app?. If so then sails-hook-validation will have to work.

Am open to discussion

@rvanzon
Copy link
Author

rvanzon commented Jan 31, 2016

@lykmapipo it reloads parts manually:
https://github.com/sgress454/sails-hook-autoreload/blob/master/index.js#L76

But I have the idea sails-hook-validation is not the problem, but Sails or Waterline itself, or maybe it's driver related. I spend some hours figuring out, but I can't find it :-(

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