Git Product home page Git Product logo

helixfilewatcher's Introduction

HelixFileWatcher

This is a tool to automatically take changes made in your code repository and move them over to your Sitecore webroot as you make changes. Eliminating the need to run a manual publish.

Configuring the tool

Required: Modify the settings in parameters.ps1 to point the watcher to both your code and the web root.

Adjusting watch locations

By default this tool handles 4 areas:

bin

For binary files

App_Setting\Include

For configuration files

Views

For cshtml files

Assets

For front end stuff (css, js)

you may change, add, or remove any of these from FileWatchSetup.ps1 line 46

Adjusting file copy process

By default this tool handles some basic cases where a file changes and it gets moved to the appropriate place in the webroot. For example:

(source)\bin -> (webroot)\bin

(source)\App_Config\Include -> (webroot)\App_Config\Include

You can change what types of files are managed and how they are managed in the DeploymentDefinitions.ps1 the magic happens with a hashtable that's a string to script block object. When a watcher finds a file with an extention matching what is in the hashtable, it executes the script block with the parameters Path, OldPath (if a rename) and a switch for deleted (if deleted) then it's up to your script block to decide what happens to it.

helixfilewatcher's People

Contributors

bmyers avatar jeffdarchuk avatar yousleepy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.