This plug API is the same as plug.static, but wrapped to
this process blocks application start to ensure that when the next application starts the reaxt render is ready (js is compiled)