mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 18:42:23 +08:00

Reloading changed asset files in dev mode will only work if an embed.FS has been provided for the assets.
13 lines
184 B
Go
13 lines
184 B
Go
//go:build !dev
|
|
|
|
package assetserver
|
|
|
|
import (
|
|
"context"
|
|
"io/fs"
|
|
)
|
|
|
|
func isAssetDirOverride(ctx context.Context, serverType string, assets fs.FS) (fs.FS, error) {
|
|
return nil, nil
|
|
}
|