There was an error while loading. Please reload this page.
1 parent 62fe640 commit bcd32f1Copy full SHA for bcd32f1
commands/hugo.go
@@ -25,7 +25,6 @@ import (
25
"net/http"
26
"os"
27
"path/filepath"
28
- "runtime"
29
"strings"
30
"sync"
31
"time"
@@ -767,10 +766,6 @@ func (c *commandeer) rebuildSites(events []fsnotify.Event) error {
767
766
768
// newWatcher creates a new watcher to watch filesystem events.
769
func (c *commandeer) newWatcher(port int) error {
770
- if runtime.GOOS == "darwin" {
771
- tweakLimit()
772
- }
773
-
774
watcher, err := watcher.New(1 * time.Second)
775
var wg sync.WaitGroup
776
commands/limit_darwin.go
commands/limit_others.go
0 commit comments