We've now added in a lot of code to determine what environment we are in and then use that determination
to decide how to serve up our Riak project files.
So I want to do just a very quick test.
I want to make sure that all this stuff is working when we are running this project on our local machine.
So to begin, I'm going to go back over to my terminal.
I'm going to restart my node index serve command inside of our district directorate.
I'll then go back over to my editor.
I'm going to find my local client, SIRC Index, not file, so I want to make a very small change to
our REACT application and then I want to see that change appear inside the browser because that is desirable
behavior when we are doing active development on our app.
So right above my cell list, I'm going to add in a simple one and give it the text just like so.
Well, then flip back over to my browser, refresh the page, and then I'll see at the very top test
of your right there.
Now, if you do not see tests appear, make sure your scrolled all the way up to the top of the browser.
Sometimes it will just kind of edge out that test word.
So this is very good.
It means that we can run our Seelie in a development environment and we can see a live dynamic changes
made to our REACT application appear on the screen right away.
So, again, very good.
We need to make sure we also eventually test running our application in a sort of production environment
as well.
So we need to make sure that if we deploy this thing off to NPM, someone installs it on their machine,
we should then correctly make sure.
That we provide that serve commander right here and is production of false, so we would want to meet
his production to be true, we would want use proxy to show up inside the search function as false,
that we instead make use of built project files inside of our local client build directory instead.
All right, so this looks pretty good, I'm going to go back over to my index file and just remove that
one very quickly.
Let's see this right here and we'll come back in just a moment.