Skip to content

Commit 35d4a67

Browse files
authored
(docs) add note about ts/js file watching
#177
1 parent ad623c3 commit 35d4a67

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@ LSP-compatible editors, you can use an HTML comment with the `@component` tag:
8080

8181
### Using SCSS or Less? See [this section](./preprocessors/scss-less.md#troubleshooting--faq)
8282

83+
#### If I update a TS/JS file, Svelte does not seem to recognize it
84+
85+
You need to save the file to see the changes. If the problem persists after saving, check if you have something like this set in your settings:
86+
87+
```json
88+
"files.watcherExclude": {
89+
"**/*": true,
90+
}
91+
```
92+
93+
If so, this will prevent the language server from getting noticed about updates, because it uses a file watcher for `js`/`ts` files.
94+
8395
## Internals
8496

8597
- [Notes about deployment](./internal/deployment.md)

0 commit comments

Comments
 (0)