Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference files not compiled when using grunt-ts #111

Open
cancio opened this issue Nov 30, 2016 · 0 comments
Open

Reference files not compiled when using grunt-ts #111

cancio opened this issue Nov 30, 2016 · 0 comments

Comments

@cancio
Copy link

cancio commented Nov 30, 2016

I am trying to use grunt-newer with grunt-ts, but I've found that grunt-newer does not monitor the references in the files being compiled. I've tried writing my own override function to go through those references but I am not having luck.

From my grunt-ts config:

            compile_test: {
                files: [
                    { src: ['<%= dir.source %>/**/*.ts'], dest: '<%= dir.target %>/compiled.js' }
                ]
            }

I then tried writing an override function, but found that when reading the TypeScript files, most of the time I only getting the comments in the file and nothing else (I am using grunt-concurrent and I don't know if that has anything to do with it).

I used this gist as a base: https://gist.github.com/madsleejensen/11082646

grunt 0.4.5, grunt-concurrent 2.3.1, grunt-newer 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant