1.0.5-0 • Published 2 years ago

towatch v1.0.5-0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

干嘛的

如其名,监听文件或文件夹变化,变了就执行你想要执行的命令,就这么简单

怎么干

npx towatch path=${your path base root} command='${your command}' -f

  • path: 需要监听的文件(夹)路径,根据你项目根路径
  • command: 你要执行的命令,一般使用单引号括起来避免冲突
  • first: 是否在最开始调用命令,简写(-f)

更新

  • 1.0.2-0 会杀死上一个遗留的子进程
  • 1.0.3-0 底层改用spawn
  • 1.0.4-0 子程序环境变为当前项目的更路径
  • 1.0.5-0 修复
1.0.5-0

2 years ago

1.0.4-0

2 years ago

1.0.3-0

2 years ago

1.0.2-0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago