How to configure Supervisor to publish the node service in Webstorm

Source: Internet
Author: User

http://blog.csdn.net/yidragon88xx/article/details/26488585

When using Webstorm, re-modify the source code after the need to restart the node file on the Web page to see the update, Supervisor package is to solve this problem, workaround:

1. First install supervisor--the middle-g parameter in NPM install-g supervisor is the global meaning

After the installation is complete, the default X:\Users\ account \APPDATA\ROAMING\NPM directory, x is the system's drive letter

2. Select the JS file you want to run under Run--edit configurations in Webstorm, and on the right, click Set node interpreter to C:\Users\Daobing\AppData\Roaming\npm\ Node-supervisor.cmd

3. After the setup is complete, the--debug parameter is added to the node parameters and the last saved.

How to configure Supervisor to publish the node service in Webstorm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.