diff options
author | pacien | 2022-11-19 18:54:02 +0100 |
---|---|---|
committer | pacien | 2022-11-19 18:54:02 +0100 |
commit | 8e0cda290d85d0a126093c9950c8030cfcb9d800 (patch) | |
tree | 8fe133b27a853789723b2647a56f64aad86b223c /flake.nix | |
parent | 559422535126af1484b50bfa22cc40375df1231b (diff) | |
download | ldgallery-8e0cda290d85d0a126093c9950c8030cfcb9d800.tar.gz |
viewer/build: use poll-based live reload in sandbox
Continuing to use a watch-based approach by default elsewhere.
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -164,6 +164,10 @@ | |||
164 | restrictNetwork = false; | 164 | restrictNetwork = false; |
165 | patchQemu9p = true; | 165 | patchQemu9p = true; |
166 | tools = devTools; | 166 | tools = devTools; |
167 | envVars = { | ||
168 | # File modification watch doesn't work through the VM for live reload. | ||
169 | VUE_APP_WEBPACK_WATCH_POLL = "1000"; | ||
170 | }; | ||
167 | config = { | 171 | config = { |
168 | # The viewer's build and devel server are resource-hungry. | 172 | # The viewer's build and devel server are resource-hungry. |
169 | virtualisation.cores = 2; | 173 | virtualisation.cores = 2; |