diff --git a/TODO.txt b/TODO.txt index 942b91df..475948a8 100644 --- a/TODO.txt +++ b/TODO.txt @@ -102,4 +102,8 @@ optimize syncback like we did serve. [sourcemap / luau-lsp] we need to fix "luau-lsp.sourcemap.generatorCommand": "atlas sourcemap default.project.json5 --output sourcemap.json --include-non-scripts --watch", -and make luau-lsp actually use the 'atlas' cli... \ No newline at end of file +and make luau-lsp actually use the 'atlas' cli... + +[two way sync] +so the plugin isnt respecting two-way sync for glob ignore +basically if a new script is on studio that isn't in atlas but even though it's glob ignored, it still tries to two-way sync it over and say there has been a change diff --git a/src/serve_session.rs b/src/serve_session.rs index 8b49cd8f..ccf0c7b6 100644 --- a/src/serve_session.rs +++ b/src/serve_session.rs @@ -411,6 +411,7 @@ impl ServeSession { // Watch project folder non-recursively for project file edits. let _ = vfs.watch(&project_folder); watch_count += 1; + vfs.set_watch_recursive(true); log::debug!( "Set up {} watches in {:.1?}", watch_count,