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

No go rebuild #2870

Merged
merged 8 commits into from Aug 30, 2023
Merged

No go rebuild #2870

merged 8 commits into from Aug 30, 2023

Conversation

haukened
Copy link
Contributor

Description

Implements a new dev flag -nogorebuild that prevents automatic reloads on backend file changes. This is useful in editors that auto save frequently, and addresses #2053

Fixes #2053

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Performed A/B testing using existing wails binary, and wails-dev binary, as well as testing both flag and unflag operations on wails-dev

wails wails-dev
no flag
-nogorebuild N/A
  • Windows
  • macOS
  • Linux

Test Configuration

╭─david@arch ~/Development/ ‹main*› 
╰─➤  wails doctor
Wails CLI v2.5.1

 SUCCESS  Done.                                                                                                                                             

# System

OS           | Arch Linux
Version      | Unknown   
ID           | arch      
Go Version   | go1.21.0  
Platform     | linux     
Architecture | amd64     

# Wails

Version         | v2.5.1
Package Manager | pacman

# Dependencies

Dependency | Package Name | Status    | Version    
*docker    | docker       | Installed | 1:24.0.5-1 
gcc        | gcc          | Installed | 13.2.1-3   
libgtk-3   | gtk3         | Installed | 1:3.24.38-1
libwebkit  | webkit2gtk   | Installed | 2.40.5-1   
npm        | npm          | Installed | 9.8.1-1    
pkg-config | pkgconf      | Installed | 1.8.1-1    
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!

Checklist:

  • I have updated website/src/pages/changelog.mdx with details of this PR
  • My code follows the general coding style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@leaanthony leaanthony merged commit 2e9f57a into wailsapp:master Aug 30, 2023
10 checks passed
@leaanthony
Copy link
Member

Thanks for this! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flag to disable backend rebuild in dev
2 participants