MCPcopy
hub / github.com/spicetify/cli / isValidForWatching

Function isValidForWatching

src/cmd/watch.go:224–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func isValidForWatching() bool {
225 status := spotifystatus.Get(appDestPath)
226
227 if !status.IsModdable() {
228 utils.PrintError(`You haven't applied. Run "spicetify apply" once before entering watch mode`)
229 return false
230 }
231
232 return true
233}
234
235func startDebugger() {
236 if len(utils.GetDebuggerPath()) == 0 {

Callers 3

WatchFunction · 0.85
WatchExtensionsFunction · 0.85
WatchCustomAppFunction · 0.85

Calls 2

PrintErrorFunction · 0.92
IsModdableMethod · 0.65

Tested by

no test coverage detected