Skip to main content
Version: 7.2.1

Builder

Builder is responsible for transpilling your .pgx and .cpx (UI Editor code) files into a actual typescript classes.


info
  • On every UI changes, the relevant files will be re-generared and transpiled.

Launch Builder Manually

  • To launch the Builder manually from the command line, use the following command from the root of your project:

    npx transpiler --rootPath /home/your/path/helloworld-boilerplate --scriptsFolder /home/eren/mylocal/helloworld-boilerplate/scripts --pgxFolder /home/your/path/helloworld-boilerplate/.ui
  • To launch the Builder service as standalone, use the following command from the root of your project:

    npx transpiler --rootPath /home/your/path/helloworld-boilerplate --scriptsFolder /home/eren/mylocal/helloworld-boilerplate/scripts --pgxFolder /home/your/path/helloworld-boilerplate/.ui standalone
caution
  • Standalone mode will start the builder without the watch option.

Troubleshoot Builder

  • When the UI Editor is behaving unexpectedly or you have some issues with the transpiling, you can restart the builder.

  • When there's a new page or page is deleted and the builder behaving unexpectedly, you can restart the builder.

  • To restart the builder, select Run Builder from the Run menu.