i have issue with reloading app,
react-native-cli: 1.2.0 react-native: 0.37.0 watchman: 4.7.0
index.ios.js file.
import React from 'react';
import ReactNative, {View,Text} from 'react-native';
import Header from './src/components/header';
const App = () => {
return (
<View>
<Header headerText={'Products '}/>
<Text>Test</Text>
</View>
);
};
ReactNative.AppRegistry.registerComponent('ditrack', ()=> App);
then run command react-native run-ios. App simulator loaded but don't update any changes in code for ex.
<Text>Test</Text> to <Text> OTHER Test</Text>
I already reviewed several issues in stackoverflow and github but it did't helped me
i finded solution. I did sudo pkill -9 -x fseventsd
and then run command react-native start
with sudo. sudo react-native start