Skip to content

joa-queen/aftersave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

aftersave

Sublime Text 2 Plugin which perform a custom action after saving a file

Install

Install it via Package Manager

How it works

Adding a simple comment at the top of the file in which you want to trigger a command.

Example:

/* aftersave: uglifyjs <self> -o ../public/js/main.js */
(function($){
	$(document).on('ready', function(event) {
		alert('Document is ready!');
	});
})(jQuery);

<self> is automatically replaced by the current file name.

Known issues

It probably won't work in Windows.

About

Sublime Text 2 Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages