Closed abgonzalez93 closed 3 weeks ago
hey @abgonzalez93 it is indeed supposed to be reactive.
What Latitude CLI version and Latitude project version are you on?
latitude --version
latitude.json
at the root of your project you'll see the version therelatitude cli version: latitude --version
latitude project version: check latitude.json at the root of your project you'll see the version there
@abgonzalez93 I'm not able to reproduce. Could you share a repo with the reproducible bug? Also try updating to latest CLI version, there's a bugfix related to CLI syncing that might be affecting you. npm update -g @latitude-data/cli
CLI is up to date.
Whenever I save a file after a change is done, I get those errors on console (but it's supposed to be a favicon missing error)
I've uploaded Netflix test project to my GitHub repo. (.latitude folder is missing. Github doesnt upload it. I suppose doing latitude setup command you download it) https://github.com/abgonzalez93/latitude-syncing-error.git
In either case, tell me whatever you need
yeah don't worry about the favicon issue, is just a warning that we need to take care but it does not cause any issue. Also it's normal that .latitude is not included in github 👌🏼
I will test it in a similar environment and come back to you.
hey @abgonzalez93 I'm not able to reproduce your issue with the repo you shared. My settings just so we are in sync:
Some general recommendations that I've seen solving issues in other projects running in ubuntu:
apt install -y build-essential xdg-utils
. Usually these come preinstalled with ubuntu but might not be your caseLet me know if any of this helps
I'm actually using WSL, so that might be a possible cause. Anyway, I'm gonna try to reinstall build-essentials and search for information about WSL issues. Ill let you know as soon as I know what's happening
I got to solve it. I'm currently using WSL on my Windows 11. I was connecting to WSL files vía VS Code (but using a plain directory URL) and somehow, as you said, that interfered with latitude's watchers. I downloaded and configured WSL extension. Accessed to the project and now, running Ubuntu on VS Code terminal, changes are syncing perfectly.
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl
Hope this helps to others.
updated the docs accordingly 👌🏼
Steps To Reproduce
I have my project running on Ubuntu. I do a change on my code (View, queries, whatever). After saving the file, the project does not detect the new changes. You have to stop and re-run it again.
Environment
node -v
): 18.20.2npm -v
): 10.5.2Expected Behavior
Is not it supposed to be reactive? (Every change is compiled in real-time)