From 21aa1402bc0fa782623627a40221304a332b39c2 Mon Sep 17 00:00:00 2001 From: alessio Date: Sun, 20 Nov 2016 18:19:09 +0100 Subject: [PATCH] flimit fixed --- README.md | 2 ++ settings/settings.go | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2aea01..a805903 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,8 @@ A Go build system with file watchers, output streams and live reload. Run, build open: false // opens the web server in a new tab host: localhost // web server host port: 5000 // wev server port + config: + flimit: 0 // increases the maximum number of open files - supported only on linux or os x, sudo required projects: - name: printer // project name path: / // project path diff --git a/settings/settings.go b/settings/settings.go index 141614e..271f703 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -7,9 +7,9 @@ import ( type Settings struct { Colors `yaml:"-"` - Resources `yaml:"resources,omitempty" json:"resources"` - Server `yaml:"server,omitempty" json:"server"` - Config `yaml:"config,omitempty" json:"config"` + Resources `yaml:"resources" json:"resources"` + Server `yaml:"server" json:"server"` + Config `yaml:"config" json:"config"` } type Config struct {