-
Notifications
You must be signed in to change notification settings - Fork 18
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
Invalid compiler command is dispatched in the is_outdated #14
Comments
The part which doesn't work well when the passed command is not a tuple but a long string: https://github.com/jazzband/django-pipeline/blob/master/pipeline/compilers/__init__.py#L108
This would lead to:
|
Example for tuple compiler command: https://github.com/jazzband/django-pipeline/blob/master/pipeline/compilers/sass.py#L16 |
I'm still doing something wrong, since the compilation errors out though: https://stackoverflow.com/questions/38276360/using-django-pipeline-browserify-on-windows |
Ooooh, it was changed around in September 2015, before that the long string was valid: jazzband/django-pipeline@1f6b48a |
I tried all kinds of combinations to assemble the command. Like leaving the original long string but use Something needs to be done about this. |
I haven't used this project since I first created it so I'm not really familiar with how it works now. I've merged a few pull requests which may have had unintended consequences. When I get a chance I'll setup a dev environment so I try out the latest version of the code. |
@MrCsabaToth @j0hnsmith I've fixed this issue with this PR |
Fixed via #16 |
This https://github.com/j0hnsmith/django-pipeline-browserify/blob/master/pipeline_browserify/compiler.py#L55 yields a single string
u' c:\\Users\\JohnSmith\\node_modules\\.bin\\browserify.cmd -t babelify --deps C:\\Users\\JohnSmith\\Documents\\test\\company\\static\\dashboard\\js\\react_test_dashboard_widget.browserify.js'
on my system. That causes a disaster in thepipeline
SubProcessCompiler
since that expects a tuple. Upon receiving a string it tears it up into hundred individual characters. So instead ofwe'd need something like
How does this work for others at all?
The text was updated successfully, but these errors were encountered: