Reputation: 93
I am working on a SASS project for an efficient code writing. Everything was good until I was working on my local system, but now I have uploaded the files to server and every time I need to make edits, I need to work on my local and then re-upload to server, which is so time consuming. Is there any other way to reduce this time and instead re-uploading the files, I can edit the SASS files online? Would like to know from you guys.
Upvotes: 1
Views: 2136
Reputation: 1785
You can use Sublime Text's SFTP package and its "Monitor file" feature appreciated by many here.
Upvotes: 0
Reputation: 175
In theory you can edit, but it won't compile in CSS. For that you should start your Compass/Gulp or whatever you using on local machine, upload CSS files and only then it will display changes in your browser. For live upload you can use Gulp-SASS and Gulp-SFTP. Gulp will watch files and upload them on change to the server. Here is an article, may be it will be usefull for you
Upvotes: 2
Reputation: 444
I agree with @RobertWade that this should be part of your version control and build process. You may like to start with a simple gulp sass build process running on your server. Here's a walkthrough http://ryanchristiani.com/getting-started-with-gulp-and-sass/
Upvotes: 2