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

sprockets-commoner does not notice file system changes in conjunction with babel-plugin-import-glob #66

Open
mindnektar opened this issue May 3, 2017 · 0 comments

Comments

@mindnektar
Copy link

Hiya,

I'm using babel-plugin-import-glob to import several files from a directory at once, allowing myself more flexibility and reducing monkey tasks with files that are regularly added, removed and iterated over in my application. Unfortunately, sprockets-commoner does not trigger a recompile when a file is added or removed in the respective directory. I found a way to trigger it manually by editing the .babelrc file (simply adding a whitespace will do the job), but this is hardly ideal.

I'm wondering if there's a way to tell sprockets-commoner to recompile when there are changes in certain directories, or maybe there's another way to solve this problem that I can't think of. Thanks for any input!

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