diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/builder/builder.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/builder/builder.go b/internal/builder/builder.go index 1181802..900ce15 100644 --- a/internal/builder/builder.go +++ b/internal/builder/builder.go @@ -265,13 +265,6 @@ func BuildSite(ioConfig IOConfig) (*Result, error) { config.InjectLiveReload = ioConfig.Development compressFiles = !ioConfig.Development - if ioConfig.Development && ioConfig.Destination != "website" { - err = os.RemoveAll(ioConfig.Destination) - if err != nil { - return nil, errors.WithMessage(err, "could not remove destination directory") - } - } - loadCSS() return build(ioConfig.Destination, *config) |