Clean react native project

Jagdeep Singh picture Jagdeep Singh · Dec 29, 2017 · Viewed 81.8k times · Source

How to clean react native project?

Is there any way to clean react native project as we can clean xcode project?

Any help will be appreciated!

Answer

Val picture Val · Dec 29, 2017

A react-native Project is about one XCode Project and one Android Project. (for pure js code, there's no need to do clean)

So, what you need would be

Clean XCode Project with

cd ios
xcodebuild clean

And then clean Android Project with

cd android
./gradlew clean

You can simply write a batch file for it.