Go 程序热编译工具 gowatch

码农软件 · 软件分类 · 编译器 · 2019-12-07 23:43:53

软件介绍

gowatch

Go 程序热编译工具,提升开发效率

通过监听当前目录下的相关文件变动,进行实时编译

安装使用

go install github.com/silenceper/gowatch

安装完成之后,即可使用gowatch命令,在当前文件执行

相关配置

大部分情况下,不需要更改配置,直接执行gowatch命令就能满足的大部分的需要,但是也提供了一些配置用于自定义,在执行目录下创建gowatch.yml文件,支持的配置如下:

# gowatch.yml 配置示例

# 当前目录执行下生成的可执行文件的名字,默认是当前目录名
appname: "test"   
# 是否对当前目录下相关依赖执行 ‘go install’命令,将会执行安装依赖
go_install: true
# 需要监听的文件名后缀,默认只有'.go'文件
watch_exts:
    - .yml
# 在执行命令时,需要增加的其他参数
cmd_args:
    - arg1=val1
# 需要增加环境变量,默认已加载当前环境变量
envs:
    - a=b
# 是否监听 ‘vendor’ 文件夹下的文件改变
vendor_watch: false
# 不需要监听的目录名字
excluded_paths:
    - path
# build tags
build_tags: ""

本文地址:https://codercto.com/soft/d/20667.html

Nginx Essentials

Nginx Essentials

Valery Kholodkov / Packt Publishing / 2015-7-1 / USD 34.99

About This Book Learn how to set up, configure, and operate an Nginx installation for day-to-day useExplore the vast features of Nginx to manage it like a pro, and use them successfully to run your......一起来看看 《Nginx Essentials》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具