![]() ![]() For example, watchedFiles="web.config *.js routes\\\*.json routes\\\*.js" ![]() To do it, add "watchedFiles" attribute under iisnode element in web.config file. So, nodemon is no longer required to restart the node server. This folder is defined as a virtual path under Default Web Site in IIS, so that the site is accessible on One of the advantages of running a node app on IISNODE is that application process is automatically recycled when a file is updated. You can find the folder of the site in C:\Program Files\iisnode. Once the installation is completed, run setupsamples.bat in Windows Command as an administrator. IIS7.x with IIS Management Tools and ASP.NET (note: ASP.NET both in Server Roles>Application Development and in Features). ![]() His highlights are very helpful to focus on important aspects of IISNODE implementation. There is another concise summary of IISNODE tutorial by Joe. In addition, if an node app should run all the time, consider reading his article on application initialization. He summarizes the benefit of IISNODE: 1) process management (start, stop, monitor), 2) side-by-side operation with other content type applications (html, php, asp.net, etc), 3) multiple node.exe processes and load balancing, and so on. This is a good start presentation by Tomasz Janczuk, the author of iisnode. There are quite a few online guides about how to use IISNODE. I am setting an IISNODE to run an node.js application on Windows server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |