diff options
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); |