Kiruna is a simple, powerful library for building and bundling fullstack Go application assets, with live browser refresh and excellent dev-prod parity. It's sort of like Vite, but for Go apps.
BSD-3-CLAUSE License
Published by sjc5 5 months ago
Ensures all DevConfig
instances of WatchedFile.Pattern
and OnChange.ExcludedPattern
are set relative to Config.RootDir
.
Published by sjc5 5 months ago
Fixes a dev-time issue where watched file exceptions configured via DevConfig.IgnorePatterns.Dirs
and DevConfig.IgnorePatterns.Files
were not being set relative to Config.RootDir
.
Published by sjc5 5 months ago
Adds a new onChange timing strategy: OnChangeStrategyConcurrentNoWait
kiruna.WatchedFile{
Pattern: "**/*.go",
OnChangeCallbacks: []kiruna.OnChange{{
Func: func(s string) error {
fmt.Println("Go file changed:", s)
return nil
},
Strategy: kiruna.OnChangeStrategyConcurrentNoWait, // <-- New timing strategy
}},
}
Published by sjc5 5 months ago