Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 371 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 371 Bytes

Watcher

A hot reload watcher for laravel-swoole.

Installation

  • Copy watcher.js to your laravel project and add some dependencies to your package.json.
"devDependencies": {
    "chokidar": "^2.0.3",
    "colors": "^1.2.5",
    "is-running": "^2.1.0"
}
  • Install dependencies.
yarn install
  • You're good to go.
node watcher.js