yarn build
やnpm run build
の後にブラウザをリロードしたかったので、AppleScriptで解決した
yarn build && osascript -e 'tell application "Safari"' -e 'set docUrl to URL of document 1' -e 'set URL of document 1 to docUrl' -e 'end tell'
yarn build
やnpm run build
の後にブラウザをリロードしたかったので、AppleScriptで解決した
yarn build && osascript -e 'tell application "Safari"' -e 'set docUrl to URL of document 1' -e 'set URL of document 1 to docUrl' -e 'end tell'