Background Refresh never schedules commands of a development extension (`ray develop`); Extension Diagnostics never lists them
Description
Commands with an interval in an extension running under ray develop are never launched on schedule. The command's Background Refresh toggle in Raycast Settings is on and shows a "Last refresh" time, but Extension Diagnostics → Background Refresh never lists the command, and it never runs. A Store-installed extension on the same Mac (Claude Usage, menubar-ccusage, interval: 5m) is listed there and runs every 5 minutes.
Environment: Raycast , macOS 26 (Tahoe) , Apple M1 Max, @raycast/api 1.104.23, @raycast/utils 1.19.1. Extension: https://github.com/dzg/raycash (branch claude/kind-mccarthy-l9m77a; the Store submission is raycast/extensions#31035).
Observed over about 24 hours with three separate registrations, none of which was ever scheduled:
- A
menu-barcommand with"interval": "2h"(the extension's original shape). - The same command after the manifest was changed to
"interval": "1m", with a full re-import: Raycast quit,~/.config/raycast/extensions/<name>removed, Raycast relaunched,ray developstarted again. No launch in 30+ minutes at a 1-minute interval. - A new
no-viewcommand with"interval": "15m", added to the manifest and picked up by the dev rebuild (it appears in root search with the background-refresh icon, and its Background Refresh preference is on). Restartingray develop, and separately quitting and relaunching Raycast, changed nothing.
What does work: running the command from root search; launching it with a deeplink (open -g "raycast://extensions/<author>/<name>/<command>?launchType=background"), which runs it in the background and updates its subtitle. Only the scheduler never fires.
Possibly related: after step 2 the edited interval did not appear to be applied either, but with the schedule never firing that can't be separated from the main issue.
Screenshots attached: (a) Settings → Extensions → the command, Background Refresh on with a Last refresh time; (b) Extension Diagnostics, Background Refresh section listing only the Store extension's command.
Steps To Reproduce
- Create an extension with a
no-viewcommand that has"interval": "15m"and a body ofawait updateCommandMetadata({ subtitle: new Date().toLocaleTimeString() }). npm run dev.- Run the command once from root search (the subtitle updates; Settings shows its Background Refresh toggle on with a Last refresh time).
- Open Extension Diagnostics and look at the Background Refresh section.
- Leave the Mac awake for 30 minutes without touching the command.
Current Behaviour
The command is not listed under Background Refresh in Extension Diagnostics, its subtitle never changes, and no cmdLoading … cmd:<command> … launchType:background event appears in the Events list. A Store-installed extension's interval command on the same machine is listed and runs on time.
Expected Behaviour
The development extension's command is listed under Background Refresh and is launched every 15 minutes, as documented for Background Refresh (the docs describe development-mode support, and the 1.47.0 changelog notes dev-mode reloads respecting interval).
Source: raycast/extensions