Sails and Trails current directory structures look like this:
/api/...
/config/...
/assets/...
The server executes code directly from the source code directory. It executes the same code files that are stored in version control.
When using compiled languages, we need to convert our TypeScript, CoffeeScript, ES2015, etc files to .js
. Naively, we might add a few .gitignore rules: