官术网_书友最值得收藏!

Live reloading the application with supervisord and Gulp

Gulp is a nice tool for creating workflows. A workflow is a step-by-step process. It is nothing but a task streamlining application. You need NPM and Node installed on your machine. We use Gulp to watch the files and then update the binary and restart the API server. Sounds cool, right?

The supervisor is an application to reload your server whenever the application gets killed. A process ID will be assigned to your server. To restart the app properly, we need to kill the existing instances and restart the application. We can write one such program in Go. But in order to not reinvent the wheel, we are using a popular program called supervisord.  

主站蜘蛛池模板: 安岳县| 陇西县| 江都市| 海门市| 凤冈县| 依安县| 栖霞市| 商南县| 叶城县| 响水县| 监利县| 客服| 施秉县| 夏河县| 汝州市| 鹤壁市| 即墨市| 克山县| 上虞市| 仁怀市| 丹棱县| 东乌| 青田县| 青田县| 英超| 临夏市| 海南省| 淄博市| 贵溪市| 阜新| 万源市| 溧水县| 开封市| 泉州市| 商水县| 贵溪市| 赞皇县| 永城市| 禹州市| 南溪县| 晴隆县|