Running the yarn watch
command in packages/app-desktop
runs the following command:
tsc --watch --preserveWatchOutput --project tsconfig.json
This creates .js
and .js.map
files in the command root directory, making navigation and development difficult. However, I noticed the following in the tsconfig.json
in this directory:
"exclude": [
"**/node_modules",
"**/dist",
With that reference, isn't the intended behaviour supposed to create the js files in the /dist
directory, or in other words, should the tsconfig
not have any outDir
configured ? I just wanted to know what the intended behaviour is.
Any help is appreciated.