承接 fruit/watchkit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fruit/watchkit

Composer 安装命令:

composer require fruit/watchkit

包简介

file watcher of fruit framework

README 文档

README

I'm watching you

This package is part of Fruit Framework.

WatchKit is a tool helping you develope your web application with Fruit framework or any other which needs to generate php code dynamically.

It is still under developement, anything could be changed later.

Build Status

Usage

Create a watcher.json in project directory.

{
  // pattern => shell script
  "src/**/*.php": "make test",
  "test": "make test"
}

and run bin/watcher (or vendor/bin/watcher when installed via composer).

More detail

WatchKit parses your pattern, use inotify to watch the changes made to it, and execute shell script when changed.

If the pattern resolves to some directory, WatchKit will also watch for child directories recursively. All changes does to decent files will trigger an execution. So newly created files are under monitoring.

Known bug

When pattern resolves to files, newly created files will not be watched.

License

Any version of MIT, GPL or LGPL.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-10-23