Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bridge. compiler has issues with files deleted outside bridge. #458

Closed
Chikorita-Lover opened this issue Jun 2, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Chikorita-Lover
Copy link
Member

Summary
Deleting a file in a bridge. project outside of bridge. (e.g. via File Explorer or GitHub Desktop) trips up bridge.'s compiler. bridge.'s compiler will throw an error saying it can't find the file, and will prevent the project from compiling, requiring bridge. to be refreshed. This can be fixed by restarting watch mode.

To Reproduce
Steps to reproduce the behavior:

  1. Open an external file manager (e.g. File Explorer)
  2. Delete a file in a project
  3. Compile the project (e.g. by editing a custom command)
  4. Observe result

Observed behavior
Compiling the project will throw and error and stop compiling
Expected behavior
Deleting the file should not cause any errors with compiling

Platform (please complete the following information):

  • OS: Windows 10
  • App Version: 2.2.11

Additional context
This occurred for me after deleting a function through GitHub Desktop and attempting to save a custom command. The compiling would be stopped after throwing an error, saying the deleted file was not found.

@Chikorita-Lover Chikorita-Lover added the bug Something isn't working label Jun 2, 2022
@solvedDev solvedDev added this to the v2.2.X milestone Jun 12, 2022
@solvedDev solvedDev self-assigned this Jun 12, 2022
solvedDev added a commit to bridge-core/dash-compiler that referenced this issue Jun 12, 2022
- fix: error upon encountering file which no longer exists (bridge-core/editor#458)
solvedDev added a commit that referenced this issue Jun 12, 2022
- fix: error upon deleting file outside of bridge. (closes #458)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🚀 Done
Development

No branches or pull requests

2 participants