-
Notifications
You must be signed in to change notification settings - Fork 38
-
Notifications
You must be signed in to change notification settings - Fork 38
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
can't connect when using nodemon #33
Comments
don't use nodemon, because nodemon will watch and restart server if there is changes on file. |
Thanks sir |
To use nodemon, please, create a file nodemon.json in base path of project like this: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to apply this library as a WA gateway on my backend server.
I combined the code with my backend server and ran it with 1 command using nodemon.
when I try to run the server and try to make a request on the endpoint to create a session, everything runs normally, the qrcode appears and there are no errors on the server.
but when I try to scan the qrcode, my server always refreshes and causes repeated connections (connecting & connected). so the connection never really connects.
but when I tried to run my server using node command, everything went smoothly and connection to whatsapp was successful
The text was updated successfully, but these errors were encountered: