Configuring gulp

You can configure gulp to watch files and stream them into the exploded WAR folder by following the procedure provided in this topic.

Perform one of the following steps depending on your environment:
  • If you are working with an exploded wscdev.war file:
    Update the <STORE_BUILD_FOLDER>/ngstore.local.extn.config.json file and set the base and dest properties as follows:
    {               
          "base":{                               
          "app":"<WSCDEVWAR_FOLDER>/ngstore",
          "extn":"<EXTN_FOLDER>/ngstore"               
          },               
          "dest":"<WSCDEVWAR_FOLDER>"
    }
  • If you are working with a local runtime or a central runtime:
    Update the <STORE_BUILD_FOLDER>/ngstore.build.extn.config.json file and set the base and dest properties as follows:
    {
       "base":{
        "app":"<RUNTIME>/repository/eardata/wsc/war/ngstore", 
        "extn":"<EXTN_FOLDER>/ngstore"
         },
        "dest":"<RUNTIME>/extensions/wsc/webpages"
    }