puppet-service
puppet-service copied to clipboard
How to test / develop wechaty-puppet-hostie locally?
I am wondering what's the best way to test and develop wechaty-puppet-hostie locally? Currently I have to start a server in cloud and connect it from local, then modify each part of the code and test, which is pretty complex. Is there any better way to do this? If not, shall we think about designing a local dev script or something that help us develop wechaty-puppet-hostie
locally?
Could you please describe what you want to test in details for better understanding your requirement?
I am considering design a message buffer
- the client is offline, the buffer save the emitted messages
- the client reconnected to the server, emit these messages
This will eliminate the risk of missing messages during the offline.
So if I can run the hostie client and server together, it would be much more convenient for me.