开发者

Use compass remotely

开发者 https://www.devze.com 2023-02-04 15:22 出处:网络
I have a problem using compass-style remotley over ssh and my favorite text-editor textmate. IS there开发者_如何学Python somehow to put a delay on the actual compiling of the sass-files? I think the p

I have a problem using compass-style remotley over ssh and my favorite text-editor textmate. IS there开发者_如何学Python somehow to put a delay on the actual compiling of the sass-files? I think the problem is that compass recognizes that the files are changed and instantly tries to create the css, but this is happening while my text-editor still is saving, which results in broken files.

So the question is, is it possible to delay the creation of the files or solve this in another way?


I have found a solution to the problem!

In the configuration of textmate it was possible to tick a box saying "use atomic save" which means that the program creates a temproary files, saves to the the temporary files, removes the old file and replaces it with the new one. This way compass can work just as excpected!

0

精彩评论

暂无评论...
验证码 换一张
取 消