diff options
author | 2021-10-03 20:26:54 -0700 | |
---|---|---|
committer | 2021-10-03 20:26:54 -0700 | |
commit | 73c27a9a25a81f5e58f260cb5f126674f9e48902 (patch) | |
tree | 3c4f714ea03e0113f5a4b6577e75cb1320d09be6 /src/css_scanner.zig | |
parent | 82bf89a946690c0297cba84bf50214eba705a863 (diff) | |
download | bun-73c27a9a25a81f5e58f260cb5f126674f9e48902.tar.gz bun-73c27a9a25a81f5e58f260cb5f126674f9e48902.tar.zst bun-73c27a9a25a81f5e58f260cb5f126674f9e48902.zip |
Fix various macOS-specific compile errors and run `zig fmt`
Diffstat (limited to 'src/css_scanner.zig')
-rw-r--r-- | src/css_scanner.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/css_scanner.zig b/src/css_scanner.zig index 41e43c22e..ee2881d4e 100644 --- a/src/css_scanner.zig +++ b/src/css_scanner.zig @@ -1263,12 +1263,11 @@ pub fn NewBundler( if (watcher_index == null) { var file = try std.fs.openFileAbsolute(absolute_path, .{ .read = true }); - + try this.watcher.appendFile(file.handle, absolute_path, hash, .css, 0, null, true); - if (this.watcher.watchloop_handle == null) { + if (this.watcher.watchloop_handle == null) { try this.watcher.start(); } - } try this.import_queue.writeItem(hash); |