NYSee Lowdown

Cover Image for {“label”: “Launch NYSee”}

I just setup /.vscode/tasks.json in a VSCode project where using `Tasks: Run Task` opens 3 terminal tabs and launches everything by running `yarn dev` for each app in the monorepo … the monorepo that collects the 3 apps under the nysee.nyc umbrella.

And then it’s heads down, bang shit out.

This was such a nuisance having to do this repeatedly and manually.

For quite a while now I’ve gone to extreme lengths to automate as much of my work as is possible. Typical developer, spend 3 hours building something that I could have done manually in 10 minutes. heh. Difference being that now it takes 3 seconds to do this every time going forward.

And no, it took about 10 minutes to set this one up.

Now that Lowdown is a bit of an idea bank, thinking I put some of those tools up here for anyone to pull of the shelf and run with

GitHub Gist if you wanna: mechaneyes/tasks.json

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Launch NYSee",
      "dependsOn": ["🏂homeboy", "📡radar: incoming", "Gimme the 🔫lowdown"],
      "problemMatcher": [],
      "runOptions": {
        "runOn": "folderOpen"
      }
    },
    {
      "label": "🏂homeboy",
      "type": "shell",
      "command": "cd ./apps/🏂home && yarn dev",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "group": "terminals",
        "showReuseMessage": false,
        "clear": true
      },
      "problemMatcher": []
    },
    {
      "label": "📡radar: incoming",
      "type": "shell",
      "command": "cd ./apps/📡radar && yarn dev",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "group": "terminals",
        "showReuseMessage": false,
        "clear": true
      },
      "problemMatcher": []
    },
    {
      "label": "Gimme the 🔫lowdown",
      "type": "shell",
      "command": "cd ./apps/🔫lowdown && yarn dev",
      "presentation": {
        "reveal": "always",
        "panel": "new",
        "group": "terminals",
        "showReuseMessage": false,
        "clear": true
      },
      "problemMatcher": []
    }
  ]
}

Taggedcodegistgithubjson


;