[Pas2js] compilerserver
Michael Van Canneyt
michael at freepascal.org
Tue Mar 19 12:29:34 CET 2019
On Tue, 19 Mar 2019, heliosroots wrote:
> What is compilerserver?
> it seems to me that lazarus creates and manages an instance of it, and if it
> has modifications it kills this instance and recreates it? I can also manage
> by http requests
The compilerserver is a small HTTP server which simply serves html.
But it has also the compiler built in and can supervise a directory:
when the directory changes, it recompiles the project in it and can send a
notification to the browser when it did so. The browser can also request a
recompile.
Check the hotreload sample project for how to use it.
My plan is to also add the REST bridge to it, so it can be used as a
1-stop-backend server for pas2js development.
Michael.
More information about the Pas2js
mailing list