Skip to content

Commit

Permalink
add README for fsnotify
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Aug 29, 2014
1 parent fb0627d commit 22c8889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,11 @@ Here is a simple example of [gorazor templates](https://github.com/sipin/gorazor
## How to auto re-generate when gohtml file changes?

We use `https://gopkg.in/fsnotify.v1` to implement watching option.

Useage: `gorazor -watch input_dir output_dir` to re-generate gohtml file changes,

```bash
new/modify -> generate corresponding Go file
new/modify -> generate corresponding Go file, make new directory if necessary
remove -> remove corresponding Go file or directory
```
Expand Down

0 comments on commit 22c8889

Please sign in to comment.