devModulesDirMonitor

0.0.2.0

Provides functions (cmdlets) to monitor changes in modules in developer folder. Updated module will be updated via command Import-Module $modName -Force.

How to use.

Add the following code in your project entry point file.

   function monitorChangesInModules($dir) {
       startDirMonitor $dir

       if ($updatedModules) {
           foreach ($modNam
Provides functions (cmdlets) to monitor changes in modules in developer folder. Updated module will be updated via command Import-Module $modName -Force.

How to use.

Add the following code in your project entry point file.

   function monitorChangesInModules($dir) {
       startDirMonitor $dir

       if ($updatedModules) {
           foreach ($modName in $updatedModules) {
               Import-Module "$modName" -Force
           }
           resetChangedModulesList
       }
   }
   $dirToWatch = ".\myModules"
   monitorChangesInModules($dirToWatch)
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name devModulesDirMonitor

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name devModulesDirMonitor

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2019 DMhome. All rights reserved.

Package Details

Author(s)

  • Dmitry Molchanov

Functions

resetChangedModulesList startDirMonitor

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
0.0.2.0 (current version) 257 11/14/2019
0.0.1.0 22 11/14/2019