first excuse my English, I would like to have all the compilation power of compass in sails, compass is able to watch many directories and compile the files that doesn't begin with _, and it creates he same directory structure for the compiled files. how can I do this with grunt or how can I add compass to grunt and let compass compile the files, thanks
how can I integrate sails.js with compass?
297 Views Asked by Julio Gonzalez At
1
There are 1 best solutions below
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in GRUNTJS
- Failed to instantiate module ui-bootstrap for Angular after grunt serve
- Deploy Grunt on Vercel
- Grunt Handlebars partials name modification issue
- How do I create an entry point for my webpack.config.js in Angualr js
- Grunt project works when accessed from VSCode, but when deployed to Vercel, doesn't load JavaScript
- Grunt >> ReferenceError: primordials is not defined
- Not able to compile .less Magento 2.4.6-p2
- Warning: Uglification failed. Unexpected token: punc «:», expected: punc «,»
- Why does installing grunt(npm install grunt --save-dev) into my project stops in between and doesn't make any chnages to package.json?
- Throws SyntaxError while trying to run grunt build --env=devel --platform=android --crosswalk=false
- How can I include some specific css file in the prod grunt file?
- grunt-contrib-copy stops with EEXIST error
- Unable to install grunt in Windows 11 npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
- Mock a function called by child process in Jest
- Im new to laravel and trying to run an existing laravel project, when I run npm install so much "npm WARN deprecated" message appear
Related Questions in SAILS.JS
- Unable to set database URL dynamically in Sails.js
- Error: Encountered error during file download: Cannot pipe, not readableCannot pipe, not readable
- Sailsjs upload file nodejs v 18
- Sails.js CSRF token always changing for POST request
- Connect Sails.js to Mongo Atlas
- how to call SailsJs controller function from ExpressJs router?
- Node.js server stops responding to requests
- Node js promise-ftp: Error uploading file: Error: Can't open that file: No such file or directory
- Sails js ORM isssue
- Can not connect to sails socket
- How to achieve non resourceful socket communication with Sails js?
- Why aren't models being imported in my Sails application?
- Sail npm run dev
- Segmentation fault on WSL during Laravel installation
- Unable to run Sails after npm install
Related Questions in COMPASS
- Is it possible to place the bearing angle on compass image?
- How to add my destination bearing angle with respect to compass in kotlin
- Not able to connect mongo with replica set to mongo compass
- Unity Compass is not adjusted to the gyroscope
- Compare fields in a document Using MongoDB Compass
- How to proxy access mongoDB through ssh tunnel in code?
- Angle jump in reverse direction at points 179 degree to -179 degree and -179 to 179 degree while making compass app in android studio
- Why my animation doesn't work for a compass made in SwiftUI
- MongoDB Compass filter dynamic array
- ScrollView content offset freezes compass
- Magnetometer Heading Calculation?
- Android compass calibration without moving
- How to Animate Compass in Flutter
- The Flex Items Seem to Inherit a Height Property From a Form That I Can't Find
- Android RotateAnimation: rotate compass smoothly
Related Questions in GRUNT-CONTRIB-COMPASS
- Grunt compass:dist task failing due to Invalid CSS in bootstrap-sass-official/assets/stylesheets/bootstrap/_variables.scss
- grunt compress to include hidden subfolders
- Jenkins grunt compass ENOENT No such file or directory @ realpath_rec
- grunt compass give single scss file
- Output specific file name of css file grunt-contrib-compass
- Getting error when trying to install compass npm ERR! Cannot read property 'length' of undefined
- How to prevent compass from process and replace the unicode value of my variables?
- Grunt Compass Stack level too deep error
- Grunt | Error | Mac Only | Warning: spawn E2BIG Use --force to continue
- How to combine multiple watch tasks for different compass tasks in Grunt
- Compass Fails Post Migration to 'El Capitan'
- Grunt Watch not running Compass as secondary task
- Grunt Sass compile issue
- Compile SASS files in separate folder with relative assets/urls?
- Optimization of grunt-contrib-compass with base64 fonts
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
sails.js uses grunt for automatic / manual task running. If you need to simplify or automate compass tasks, use grunt-compass .
Technical Details
Create a new file tasks/config/compass.js with contents similar to below
module.exports = function (grunt) { grunt.config.set('compass', { src: 'assets/scss/partials', dest: 'assets/css/partials' }); grunt.loadTasks('grunt-compass/tasks'); };Then you should be able to run the tasks using
grunt compassEdit the tasks/watch.js file and add the compass task alongwith linkAssets task etc if you want to run the task on file changes.