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

wails dev should not rebuild the app when modifying a go test or benchmark #3243

Open
philc opened this issue Feb 7, 2024 · 0 comments
Open
Labels
Bug Something isn't working

Comments

@philc
Copy link

philc commented Feb 7, 2024

Description

wails dev should not rebuild the app when modifying a _test.go file. The app will restart each time when modifying tests or benchmarks, and it shouldn't.

To Reproduce

  1. create the file app_test.go
  2. add func TestFoo(t *testing.T) { fmt.Println("hello") }
  3. run wails dev
  4. Modify "hello" to "goodbye"
  5. The wails app will relaunch.

Note that this also happens in the case of benchmarks (e.g. app_bench_test.go with a function BenchmarkApp(b *testing.B)

Expected behaviour

The wails app should not relaunch.

Screenshots

No response

Attempted Fixes

No response

System Details

Wails v2.7.1
MacOS 14.2.1

Additional context

No response

@philc philc added the Bug Something isn't working label Feb 7, 2024
@philc philc changed the title wails dev should not rebuild the app when modifying a _test.go file wails dev should not rebuild the app when modifying a go test Feb 7, 2024
@philc philc changed the title wails dev should not rebuild the app when modifying a go test wails dev should not rebuild the app when modifying a go test or benchmark Feb 7, 2024
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
None yet
Development

No branches or pull requests

1 participant