Read JSX files synchronously to make sure commands are sent in the order they are called