diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b0ec85e..88a95c0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -41,6 +41,13 @@ "kind": "build", "isDefault": true } + }, + { + "type": "typescript", + "label": "ts watch", + "tsconfig": ".vscode/tsconfig.json", + "problemMatcher": "$tsc-watch", + "group": "build" } ] -} +} \ No newline at end of file diff --git a/.vscode/tsconfig.json b/.vscode/tsconfig.json new file mode 100644 index 0000000..665162d --- /dev/null +++ b/.vscode/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compileOnSave": true, + "compilerOptions": { + "target": "ES6", + "sourceMap": true, + "watch": true + }, + "include": [ + "../wwwroot/js" + ] +} \ No newline at end of file diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index a9117ab..fe4b5c3 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -28,7 +28,7 @@
diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index cf278bb..006cad5 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -7,6 +7,7 @@