forked from goffee/goffee
add sqlite to ignore watcher
This commit is contained in:
parent
c4a9bd8a01
commit
fc32c09fa4
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ goffee run:dev
|
||||||
w.Ignore(
|
w.Ignore(
|
||||||
pwd+"/logs/app.log",
|
pwd+"/logs/app.log",
|
||||||
pwd+"/tmp",
|
pwd+"/tmp",
|
||||||
|
pwd+"/.git",
|
||||||
|
pwd+"/storage/sqlite",
|
||||||
)
|
)
|
||||||
w.FilterOps(watcher.Rename, watcher.Move, watcher.Create, watcher.Write)
|
w.FilterOps(watcher.Rename, watcher.Move, watcher.Create, watcher.Write)
|
||||||
if err := w.AddRecursive(pwd); err != nil {
|
if err := w.AddRecursive(pwd); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue