   loadGrammarsSync: ->
     return if @grammarsLoaded
 
-    if @bundledPackage and not @packageManager.devMode
+    if @preloadedPackage
       grammarPaths = @packageManager.packagesCache[@name].grammarPaths
     else
       grammarPaths = fs.listSync(path.join(@path, 'grammars'), ['json', 'cson'])
 
     for grammarPath in grammarPaths
-      if @bundledPackage and not @packageManager.devMode
+      if @preloadedPackage
         grammarPath = path.resolve(@packageManager.resourcePath, grammarPath)
 
       try

  isCompatible: ->
    return @compatible if @compatible?

    if @bundledPackage and not @packageManager.devMode
      # Bundled packages are always considered compatible
      @compatible = true
    else if @getMainModulePath()
      @incompatibleModules = @getIncompatibleNativeModules()

    return Promise.resolve() if @grammarsLoaded

    loadGrammar = (grammarPath, callback) =>
      if @preloadedPackage
        grammarPath = path.resolve(@packageManager.resourcePath, grammarPath)

      @grammarRegistry.readGrammar grammarPath, (error, grammar) =>
