alright server-side reloading code works

Former-commit-id: a49ef52eec1037014e3c9cda1a09f387a01116b8
This commit is contained in:
Jarred Sumner
2021-08-05 19:48:36 -07:00
parent 56c689d684
commit c0273a09f1
21 changed files with 268 additions and 51 deletions

View File

@@ -382,6 +382,7 @@ pub const Cli = struct {
this_bundler.configureLinker();
var filepath = "node_modules.jsb";
var node_modules = try bundler.ServeBundler.GenerateNodeModuleBundle.generate(&this_bundler, allocator, filepath);
var elapsed = @divTrunc(std.time.nanoTimestamp() - start_time, @as(i128, std.time.ns_per_ms));
var bundle = NodeModuleBundle.init(node_modules, allocator);