Forum > Pas2JS

Compileserver (simpleserver) with pas2js


I have in options the path to the simpleserver (now compileserver) set to C:\lazarus\components\pas2js\bin\compileserver.exe on port 3000. If I create a new app, I set in the configfile that a server is needed on port 3000.
Then I put the line writeln('hello') and compile it without errors. Then I run the app without debugging. Nothing happens. When I want to run for the second time, it comes with the errer "file not open"

How can I use simpleserver with pas2js?

You can start compilerserver with option -s, then it will behave like simpleserver.

Or you can build simpleserver. Its sources can be found in fpc trunk packages/fcl-web/examples/simpleserver/


[0] Message Index

Go to full version