File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,27 @@ memory=2GB # Limits VM memory in WSL 2 up to 2GB
92
92
processors =2 # Makes the WSL 2 VM use two virtual processors
93
93
```
94
94
95
+ #### Rebooting ` wsl ` With Updated Settings
96
+
97
+ Once you've made your changes to ` .wslconfig ` you'll need to reboot your instance for them to take effect.
98
+
99
+ You can list all of your ` wsl ` distributions via ` wsl -l ` or ` wsl --list ` :
100
+
101
+ ``` shell
102
+ Windows Subsystem for Linux Distributions:
103
+ Ubuntu (Default)
104
+ docker-desktop-data
105
+ docker-desktop
106
+ ```
107
+
108
+ In this case we need to terminate our default ` Ubuntu ` ` wsl ` instance:
109
+
110
+ ``` shell
111
+ wsl --terminate Ubuntu
112
+ ```
113
+
114
+ The next time we try to launch ` wsl ` our ` .wslconfig ` settings will be active inside the environment.
115
+
95
116
### Repeating a Test Until It Fails
96
117
97
118
If you're using JetBrains Rider, you can use their unit test feature to run a test until it fails.
You can’t perform that action at this time.
0 commit comments