SanderMertens / flecs

A fast entity component system (ECS) for C & C++
https://www.flecs.dev
Other
6.47k stars 454 forks source link

--interactive mode ignore certain files/folders #910

Closed BlueRedBrackets closed 1 year ago

BlueRedBrackets commented 1 year ago

Describe the problem you are trying to solve. Editing files with vi creates a .swp file which causes bake to restart my app before I save my file.

  1. bake run my_app --interactive
  2. vi src/main.c
  3. make an edit without saving
  4. vi creates a .swp file
  5. bake restarts the app

Describe the solution you'd like Some way to tell bake to ignore certain files/folders/patterns when determining if it should rebuild/restart the app.

Something akin to nodemon's nodemon --ignore PATTERN [--ignore PATTERN2].

SanderMertens commented 1 year ago

This is a bake issue, not flecs! Feel free to create this issue here: https://github.com/SanderMertens/bake