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

hot-reload does not work #958

Closed
littledu opened this issue Nov 7, 2017 · 2 comments
Closed

hot-reload does not work #958

littledu opened this issue Nov 7, 2017 · 2 comments

Comments

@littledu
Copy link

littledu commented Nov 7, 2017

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China)
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using?

Run npm run doctor or wechaty run doctor(for docker user), paste output here

npm ERR! missing script: doctor

Expected behavior

Normal operation and monitoring

Actual behavior

Normal operation but can not monitoring

my code:

const { Wechaty } = require('wechaty');

const bot = Wechaty.instance();

bot.on('scan', './listener/scan.js');
bot.on('login', './listener/login.js');
bot.on('message', './listener/message.js');
bot.on('friend', './listener/friend.js');

bot.start()
  .catch(e => {
    log.error('Bot', 'init() fail: %s', e)
    bot.quit()
    process.exit(-1)
  })
@littledu
Copy link
Author

littledu commented Nov 7, 2017

done. Is webstorm "safe write" setting problem.

@littledu littledu closed this as completed Nov 7, 2017
@huan
Copy link
Member

huan commented Nov 7, 2017

Cheers!

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