{"action":"created","issue":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1412","repository_url":"https://api.github.com/repos/adaptlearning/adapt_authoring","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1412/labels{/name}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1412/comments","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1412/events","html_url":"https://github.com/adaptlearning/adapt_authoring/issues/1412","id":179823480,"number":1412,"title":".rebuild file problem - Custom Css/Less or theme change breaks preview build","user":{"login":"hmaffin","id":11558341,"avatar_url":"https://avatars.githubusercontent.com/u/11558341?v=3","gravatar_id":"","url":"https://api.github.com/users/hmaffin","html_url":"https://github.com/hmaffin","followers_url":"https://api.github.com/users/hmaffin/followers","following_url":"https://api.github.com/users/hmaffin/following{/other_user}","gists_url":"https://api.github.com/users/hmaffin/gists{/gist_id}","starred_url":"https://api.github.com/users/hmaffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmaffin/subscriptions","organizations_url":"https://api.github.com/users/hmaffin/orgs","repos_url":"https://api.github.com/users/hmaffin/repos","events_url":"https://api.github.com/users/hmaffin/events{/privacy}","received_events_url":"https://api.github.com/users/hmaffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T16:35:20Z","updated_at":"2016-09-29T03:28:10Z","closed_at":null,"body":"AT 0.2.2\r\nFramework 2.0.12\r\n\r\nCourse was fine, then made a change to custom CSS/Less. Previewing threw up attached error.\r\nDeleted offending CSS, preview still erroring. Checked various other things it could be to no avail.\r\nDeleted build folder and restored from a recent download.\r\nCourse then previews ok.\r\nAdd, remove or change *any* custom CSS/Less now, even original working stuff, and it breaks. Replace build with old version and it works again.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11558341/18922771/e9b0439a-85a1-11e6-8da2-7d1a3cc7a893.png)\r\n\r\n\r\nReplicable with several other courses. First time I have changed any custom css since upgrading to 2.0.12.\r\n\r\nSomething to do with the .rebuild file perhaps?\r\n\r\n***update*** Yes it's the .rebuild file as this happens if I try to change theme too. If I then remove the .rebuild file from the build folder it works ok, but obviously doesn't rebuild."},"comment":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments/250361655","html_url":"https://github.com/adaptlearning/adapt_authoring/issues/1412#issuecomment-250361655","issue_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/1412","id":250361655,"user":{"login":"aniketdharia","id":5195781,"avatar_url":"https://avatars.githubusercontent.com/u/5195781?v=3","gravatar_id":"","url":"https://api.github.com/users/aniketdharia","html_url":"https://github.com/aniketdharia","followers_url":"https://api.github.com/users/aniketdharia/followers","following_url":"https://api.github.com/users/aniketdharia/following{/other_user}","gists_url":"https://api.github.com/users/aniketdharia/gists{/gist_id}","starred_url":"https://api.github.com/users/aniketdharia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniketdharia/subscriptions","organizations_url":"https://api.github.com/users/aniketdharia/orgs","repos_url":"https://api.github.com/users/aniketdharia/repos","events_url":"https://api.github.com/users/aniketdharia/events{/privacy}","received_events_url":"https://api.github.com/users/aniketdharia/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T03:28:10Z","updated_at":"2016-09-29T03:28:10Z","body":"@hmaffin can you stop the server and do the following steps - \r\n\r\n1. npm install\r\n2. grunt build\r\n3. node server\r\n\r\nPlease add \"sudo\" if linux or mac."}}
{"actor":{"display_login":"aniketdharia"}}