public static INpmController Create( string fullPathToRootPackageDirectory, string cachePath, bool showMissingDevOptionalSubPackages = false, INpmPathProvider npmPathProvider = null, bool useFallbackIfNpmNotFound = true) { return new NpmController( fullPathToRootPackageDirectory, cachePath, showMissingDevOptionalSubPackages, npmPathProvider); }
public static INpmController Create( string fullPathToRootPackageDirectory, string cachePath, bool showMissingDevOptionalSubPackages = false, INpmPathProvider npmPathProvider = null, bool useFallbackIfNpmNotFound = true) { return(new NpmController( fullPathToRootPackageDirectory, cachePath, showMissingDevOptionalSubPackages, npmPathProvider)); }
public NpmController( string fullPathToRootPackageDirectory, string cachePath, bool showMissingDevOptionalSubPackages = false, INpmPathProvider npmPathProvider = null) { _fullPathToRootPackageDirectory = fullPathToRootPackageDirectory; _cachePath = cachePath; _showMissingDevOptionalSubPackages = showMissingDevOptionalSubPackages; _npmPathProvider = npmPathProvider; _localWatcher = CreateModuleDirectoryWatcherIfDirectoryExists(_fullPathToRootPackageDirectory); try { ReloadModules(); } catch (NpmNotFoundException) { } }
public NpmController( string fullPathToRootPackageDirectory, string cachePath, bool isProject, bool showMissingDevOptionalSubPackages = false, INpmPathProvider npmPathProvider = null) { this.IsProject = isProject; this.FullPathToRootPackageDirectory = fullPathToRootPackageDirectory; this.cachePath = cachePath; this.showMissingDevOptionalSubPackages = showMissingDevOptionalSubPackages; this.npmPathProvider = npmPathProvider; this.localWatcher = CreateModuleDirectoryWatcherIfDirectoryExists(this.FullPathToRootPackageDirectory); try { ReloadModules(); } catch (NpmNotFoundException) { } }