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

grunt-typescript watches wrong directory #90

Open
Coridyn opened this issue Feb 27, 2015 · 0 comments
Open

grunt-typescript watches wrong directory #90

Coridyn opened this issue Feb 27, 2015 · 0 comments

Comments

@Coridyn
Copy link
Contributor

Coridyn commented Feb 27, 2015

When watch: true and a deep source directory grunt-typescript will watch the wrong directory.

e.g. with this task config:

typescript: {
    dev: {
        src: [
            'src/**/*.ts'
        ],
        dest: 'dist',
        options: {
            basePath: 'src',
            watch: true
        }
    },
}

And this source structure:

src/app.ts
src/nested/nested-file.ts
src/nested/deeper/deeper-file.ts

grunt-typescript will watch src/nested instead of the src/ directory

Here is an example project that shows the issue: https://github.com/Coridyn/grunt-typescript-debug/tree/debug/0.6.2-watch-path

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