Ignore __jb_tmp___ files created by IntelliJ
authorSteve Francia <steve.francia@gmail.com>
Thu, 2 Jun 2016 19:29:52 +0000 (15:29 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 2 Jun 2016 21:47:01 +0000 (23:47 +0200)
commands/hugo.go

index 7d989d2d9086dc739120f3a9842393c38189e48b..5ec3dc58251ce328e132950fc4b8428167f497e3 100644 (file)
@@ -749,6 +749,7 @@ func NewWatcher(port int) error {
                                                filepath.Base(ev.Name) == "4913" || // vim
                                                strings.HasPrefix(ext, ".goutputstream") || // gnome
                                                strings.HasSuffix(ext, "jb_old___") || // intelliJ
+                                               strings.HasSuffix(ext, "jb_tmp___") || // intelliJ
                                                strings.HasSuffix(ext, "jb_bak___") || // intelliJ
                                                strings.HasPrefix(ext, ".sb-") // byword
                                        if istemp {