Event Timeline
Comment Actions
vs.code settings for use with https://marketplace.visualstudio.com/items?itemName=pucelle.run-on-save
{ "runOnSave.commands": [ { "match": "metadata.jsonnet$", "command": "jsonnet ${file} > ${fileDirname}/${fileBasenameNoExtension}.json;cd ${fileDirname}/..;./data/reload.sh", "runIn": "backend", "finishStatusMessage": "done" }, ] }
Comment Actions
For maximum efficiency, replace the xdotool stuff with some applescript to refresh your firefox tab. Or just remove the xdotool commands, but make sure that the refresh function still does exit 0 because that's how it avoids falling into the loop when you run it from the run-on-save plugin.