SanderMertens / bake

Bake, A build system for building, testing and running C & C++ projects
GNU General Public License v3.0
681 stars 53 forks source link

--interactive mode ignore certain files/folders #91

Open BlueRedBrackets opened 1 year ago

BlueRedBrackets commented 1 year ago

Issue

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 <-- I don't want this

Feature Request

I'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].