How to watch and compile all TypeScript sources?

后端 未结 9 1281
挽巷
挽巷 2020-12-04 06:53

I\'m trying to convert a pet project to TypeScript and don\'t seem to be able to use the tsc utility to watch and compile my files. The help says I should use t

9条回答
  •  清歌不尽
    2020-12-04 07:53

    Today I designed this Ant MacroDef for the same problem as yours :

        
    
    
        
        
    
        
        
        
        
        
        
        
    
        
    
            
            
            
            
            
            
            
            
            
    
            
    
            
            
                
            
    
            
                
            
    
            
                
            
    
            
                
            
    
            
                
            
    
            
            
                
            
    
            
            
    
                
                    
                
    
                
                
                
    
            
    
    
            
            
            
    
            
            
            
                
            
    
            
            
            
    
        
    
    
    

    Use it in your build file with :

        
        
    

    It is used in the project PureMVC for TypeScript I'm working on at the time using Webstorm.

提交回复
热议问题