Last active
November 10, 2021 04:07
-
-
Save TheRealFlyingCoder/8d07af63799f0994aee1a7cb08e27a11 to your computer and use it in GitHub Desktop.
VSCode - Remix dev and Tailwind in split terminal on project startup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Run remix dev", | |
"type": "shell", | |
"command": "yarn dev", | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "develop", | |
}, | |
"runOptions": { "runOn": "folderOpen" } | |
}, | |
{ | |
"label": "Run tailwind css watch", | |
"type": "shell", | |
"command": "yarn watch:css", | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "develop", | |
}, | |
"runOptions": { "runOn": "folderOpen" } | |
}, | |
{ | |
"label": "Start Dev", | |
"dependsOn": [ | |
"Run remix dev", | |
"Run tailwind css watch" | |
], | |
"problemMatcher": [] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create the tasks.json file in the .vscode folder, making sure you have the right commands | |
Allow VSCode to run tasks automatically: | |
CTRL+P / CTRL+SHIFT+P (windows) | |
>Tasks: Manage Automatic Tasks in Folder | |
> > Allow Automatic Tasks In Folder | |
Restart VS Code and VIOLA! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment