You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I use to make a lot of mistakes. As on now for every change, we need to build the package, this becomes quite frustrating. Pls correct me if I am wrong.
Expected Behavior 🤔
Instantly build the changes, using tsc watch mode.
Every time I run build the build directory gets deleted, hence the linking breaks.
Failed to compile.
../material-ui/packages/material-ui/build/esm/SvgIcon/index.js
Error: ENOENT: no such file or directory, open '/home/wasd/github/material-ui/packages/material-ui/build/esm/SvgIcon/index.js'
yarn workspace @material-ui/core typescript -w would incidentally already work. This script doesn't do what you think it does though. If you want to build the esm build in watchmode you can run yarn workspace @material-ui/core build:esm --watch.
As a developer, I use to make a lot of mistakes. As on now for every change, we need to build the package, this becomes quite frustrating.
Pls correct me if I am wrong.
Expected Behavior 🤔
Instantly build the changes, using tsc watch mode.
Current Behavior 😯
Huge development cycle.
Try this
https://www.typescriptlang.org/docs/handbook/configuring-watch.html
The text was updated successfully, but these errors were encountered: