{"action":"created","issue":{"url":"https://api.github.com/repos/dazinator/DnnPackager/issues/48","repository_url":"https://api.github.com/repos/dazinator/DnnPackager","labels_url":"https://api.github.com/repos/dazinator/DnnPackager/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/dazinator/DnnPackager/issues/48/comments","events_url":"https://api.github.com/repos/dazinator/DnnPackager/issues/48/events","html_url":"https://github.com/dazinator/DnnPackager/issues/48","id":134001158,"number":48,"title":"Think about a \"watch\" mode for dealing with content","user":{"login":"dazinator","id":3176632,"avatar_url":"https://avatars.githubusercontent.com/u/3176632?v=3","gravatar_id":"","url":"https://api.github.com/users/dazinator","html_url":"https://github.com/dazinator","followers_url":"https://api.github.com/users/dazinator/followers","following_url":"https://api.github.com/users/dazinator/following{/other_user}","gists_url":"https://api.github.com/users/dazinator/gists{/gist_id}","starred_url":"https://api.github.com/users/dazinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazinator/subscriptions","organizations_url":"https://api.github.com/users/dazinator/orgs","repos_url":"https://api.github.com/users/dazinator/repos","events_url":"https://api.github.com/users/dazinator/events{/privacy}","received_events_url":"https://api.github.com/users/dazinator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-16T14:52:09Z","updated_at":"2016-02-17T00:36:33Z","closed_at":null,"body":"This might be an alternative approach for the problem of updating client side files to #38 \r\n\r\nSimilar to [gulp-watch](https://www.npmjs.com/package/gulp-watch), think about whether some sort of `watch` mode that will make `DnnPackager` \"listen\" for changes to client side files (js, css etc) in a project (new files, modifications, deletions) and automatically deploy an incremental package update containing the change to the dnn site.\r\n\r\nFor example, if the developer installs a package:\r\n\r\n1. `Install-Module [SiteName]`\r\n\r\nAnd then they want to \"sync\" changes to content files, they would do something like\r\n\r\n2. `Watch-ModuleContent [SiteName]`\r\n\r\nThis would start `DnnPackager` \"watching for file changes in the project.\r\n\r\n3. Developer would change somefile.css\r\n\r\n`DnnPackager` would detect the change as it's watching. \r\n\r\nI then need to think about the best way to deliver that change to the DnnWebsite. The two approaches would be, either by some way of installing incremental zip packages, or, bypassing Dnn completely and doing file modifications directly in particular dnn folders.\r\n\r\nCould I deliver incremental updates purely using zip install packages? If I install a newer version of the install zip package without the assembly dll, does Dnn then delete the original assembly / dll that was installed from the older version of the package (i.e as it works out is no longer part of the module definition?)\r\n\r\nThis idea needs some more thought and research.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dazinator/DnnPackager/issues/comments/184941884","html_url":"https://github.com/dazinator/DnnPackager/issues/48#issuecomment-184941884","issue_url":"https://api.github.com/repos/dazinator/DnnPackager/issues/48","id":184941884,"user":{"login":"nvisionative","id":4568451,"avatar_url":"https://avatars.githubusercontent.com/u/4568451?v=3","gravatar_id":"","url":"https://api.github.com/users/nvisionative","html_url":"https://github.com/nvisionative","followers_url":"https://api.github.com/users/nvisionative/followers","following_url":"https://api.github.com/users/nvisionative/following{/other_user}","gists_url":"https://api.github.com/users/nvisionative/gists{/gist_id}","starred_url":"https://api.github.com/users/nvisionative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvisionative/subscriptions","organizations_url":"https://api.github.com/users/nvisionative/orgs","repos_url":"https://api.github.com/users/nvisionative/repos","events_url":"https://api.github.com/users/nvisionative/events{/privacy}","received_events_url":"https://api.github.com/users/nvisionative/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T00:36:33Z","updated_at":"2016-02-17T00:36:33Z","body":"Agreed."}}