Reputation: 3109
First I have an app running in development mode, then I created a production build using:
yarn run build
And then served it by using:
serve -s build
Everything was working fine. But now I want to go back to development mode. How it can be done?
Upvotes: 2
Views: 6791
Reputation: 7073
First delete the production code, which is build
folder. if you're running Linux, Mac Os, so run the below command in the project directory,
rm -rf build
and now start the development server
yarn run start
or npm run start
Upvotes: 2