1 00:00:01,140 --> 00:00:05,540 Before we start setting up authentication there's one other quick thing I want to add into our server. 2 00:00:05,540 --> 00:00:09,840 I bet you can imagine that start stopping our server and then manually restarting it every single time 3 00:00:09,840 --> 00:00:12,870 we make a change would get really old really quickly. 4 00:00:12,870 --> 00:00:16,840 So let's add in a quick script to automate the process of restarting our server. 5 00:00:16,870 --> 00:00:22,270 Anytime we change its source code so I can go back and read my code editor find my package dot Jace 6 00:00:22,270 --> 00:00:27,600 on file and inside the script section I'm going to delete the test script and replace it with a new 7 00:00:27,600 --> 00:00:36,520 script called Dev than inside of here anytime we run the dev command I'll instead execute node man source 8 00:00:36,700 --> 00:00:44,120 index Scott J.S. like so that's going to use the node mod dependency to start up our server node man 9 00:00:44,140 --> 00:00:49,270 is a little tool that's going to watch our project directory and anytime we change any of our different 10 00:00:49,270 --> 00:00:55,060 files inside there it's going to automatically restart our server for us it's all save the changes I'm 11 00:00:55,060 --> 00:01:00,500 going to flip back over to my terminal and I'm going to start my server one last time and then start 12 00:01:00,500 --> 00:01:04,420 a backup with NPM run Dev okay. 13 00:01:04,430 --> 00:01:04,870 There we go. 14 00:01:04,920 --> 00:01:10,090 Now anytime we make a change to our project everything should automatically restart for us. 15 00:01:10,160 --> 00:01:11,450 Perfect. 16 00:01:11,450 --> 00:01:13,000 All right so let's take another quick pause. 17 00:01:13,190 --> 00:01:16,630 And now this time when we come back we'll start working on authentication. 18 00:01:16,640 --> 00:01:17,420 Like I just said.