Version: 2.0.0 (latest)

Build and Start the App

You are reading the documentation for version 2 of FoalTS. Instructions for upgrading to this version are available here. The old documentation can be found here.

FoalTS provides several commands to help you build and develop your app.

CommandDescription
npm run developBuild the source code and start the server. If a file changes then the code is rebuilt and the server reloads. This is usually the only command that you need during development
npm run buildBuild the app code located in the src/ directory (test files are ignored).
npm run startStart the server from the built files.