summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-05-23 18:52:00 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-05-23 18:52:00 +0300
commitbcd32f1086c8c604fb22a7496924e41cc46b1605 (patch)
tree2a6d88bd10ef4570383b9be9c0de1e955db0642e /commands/hugo.go
parent62fe640d0978627809a0054fd47bf5dbbf0676b0 (diff)
commands: Remove the rlimit tweaking on macOS
Fixes #3512
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 3f711251e..e6514a0e0 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -25,7 +25,6 @@ import (
"net/http"
"os"
"path/filepath"
- "runtime"
"strings"
"sync"
"time"
@@ -767,10 +766,6 @@ func (c *commandeer) rebuildSites(events []fsnotify.Event) error {
// newWatcher creates a new watcher to watch filesystem events.
func (c *commandeer) newWatcher(port int) error {
- if runtime.GOOS == "darwin" {
- tweakLimit()
- }
-
watcher, err := watcher.New(1 * time.Second)
var wg sync.WaitGroup