Skip to content

Commit

Permalink
feat(dev): add tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfux committed Jul 8, 2024
1 parent e3a78b6 commit d628a18
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package-lock.json
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/tasks.json

# Misc
_sass/dist
Expand Down
62 changes: 62 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build (Jekyll)",
"type": "shell",
"command": "bundle",
"args": [
"exec",
"jekyll",
"build"
],
"problemMatcher": []
},
{
"label": "Build (NodeJS)",
"type": "shell",
"command": "npm",
"args": [
"run",
"build"
],
"problemMatcher": []
},
{
"label": "Start watch (Jekyll)",
"type": "shell",
"command": "bundle",
"args": [
"exec",
"jekyll",
"serve",
"--force_polling",
"--livereload"
],
"problemMatcher": []
},
{
"label": "Start watch (NodeJS)",
"type": "shell",
"command": "npm",
"args": [
"run",
"watch:js"
],
"problemMatcher": []
},
{
"label": "Start watch (Jekyll + NodeJS)",
"dependsOn": [
"Start watch (NodeJS)",
"Start watch (Jekyll)"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

0 comments on commit d628a18

Please sign in to comment.