So this line should be (Not compile checked):

```
Compiler::Compile(
  Jhm::TAbsBase(string(P_tmpdir) + "/" + orly_ws_compile).GetAbsPath(tmp_file.GetPath()),
  Jhm::TAbsBase(cmd.PackageDirectory),
  true, 
  false, 
  false, 
  out_strm);
```

cmd.PackageDirectory is the 'PackageDirectory' variable inside the TCmd for `server/server.cc`. Probably just piping it in as a parameter to the websockets interface should work well enough for now.