Is there a way to not loose the .ts files on the vs code workspace?

Because every now and then the .ts files on the script folder disappear

Original Post on Discord

by user 483253293477265409

The files disappear on their own? That should certainly not happen. Can you share a screenshot of your folder setup?

You are committing them to git, right?

I have never seen a file disappear on its own (and we’re not deleting anything outside the generated folders)

Oh ok nvm I didn’t know that the workspace was just for the current scene, I thought the workspace was for the whole project

by user 483253293477265409

The workspace exists per web project or npmdef package that you create but you can of course save yourself a vscode workspace for the whole project if you like in another location and include all directories that you’d like to edit at once. see Multi-root Workspaces in Visual Studio Code