Skip to content

Commit 123e877

Browse files
authored
Merge pull request #211 from calebschoepp/spin-watch
Add spin watch configuration to templates
2 parents c76bec6 + 6c76daf commit 123e877

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

templates/http-js/content/spin.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ source = "target/{{project-name | kebab_case}}.wasm"
1515
exclude_files = ["**/node_modules"]
1616
[component.{{project-name | kebab_case}}.build]
1717
command = "npm run build"
18+
watch = ["src/**/*.js", "package.json"]

templates/http-ts/content/spin.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ source = "target/{{project-name | kebab_case}}.wasm"
1515
exclude_files = ["**/node_modules"]
1616
[component.{{project-name | kebab_case}}.build]
1717
command = "npm run build"
18+
watch = ["src/**/*.ts", "package.json"]

0 commit comments

Comments
 (0)