-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build the code to one directory when exec 'npm run start' #4663
Comments
Can you clarify what you are trying to accomplish? Building the app takes a long time for large apps, so I would not recommend rebuilding everytime there is a file change. |
For example,
So when I change a file, then rebuild to the dist directory, how can it work? |
So create-react-app doesn't support rebuilding the app every time a file changes because building takes a long time. |
Duplicate of #1070 |
Now when I exec command of 'npm run start', it will not build the code to directory.
I want to watch the file and rebuild the code to one directory.
how to config it?
The text was updated successfully, but these errors were encountered: